From 2d4e7b3ee24f38e95773af62991f18f36d465606 Mon Sep 17 00:00:00 2001 From: git_admin Date: Fri, 1 May 2026 14:20:25 +0000 Subject: [PATCH] Tower: upload accounting_pdf_reports 1.0.2 (via marketplace) --- .../models/account_account_type.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 addons/accounting_pdf_reports/models/account_account_type.py diff --git a/addons/accounting_pdf_reports/models/account_account_type.py b/addons/accounting_pdf_reports/models/account_account_type.py new file mode 100644 index 0000000..4b81323 --- /dev/null +++ b/addons/accounting_pdf_reports/models/account_account_type.py @@ -0,0 +1,34 @@ +from odoo import api, models, fields + + +class AccountAccountType(models.Model): + _name = "account.account.type" + _description = "Account Account Type" + + name = fields.Char('Name', required=True, translate=True) + type = fields.Selection( + selection=[ + ("asset_receivable", "Receivable"), + ("asset_cash", "Bank and Cash"), + ("asset_current", "Current Assets"), + ("asset_non_current", "Non-current Assets"), + ("asset_prepayments", "Prepayments"), + ("asset_fixed", "Fixed Assets"), + ("liability_payable", "Payable"), + ("liability_credit_card", "Credit Card"), + ("liability_current", "Current Liabilities"), + ("liability_non_current", "Non-current Liabilities"), + ("equity", "Equity"), + ("equity_unaffected", "Current Year Earnings"), + ("income", "Income"), + ("income_other", "Other Income"), + ("expense", "Expenses"), + ("expense_depreciation", "Depreciation"), + ("expense_direct_cost", "Cost of Revenue"), + ("off_balance", "Off-Balance Sheet"), + ], + string="Type", + help="These types are defined according to your country. The type contains more information " \ + "about the account and its specificities." + ) +