Set defaults: result_selection=customer_supplier, reconciled=True

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2026-03-12 11:24:20 +01:00
parent ac882b6121
commit 2bbfa04c25

View file

@ -8,11 +8,12 @@ class AccountPartnerLedger(models.TransientModel):
_inherit = "account.common.partner.report" _inherit = "account.common.partner.report"
_description = "Account Partner Ledger" _description = "Account Partner Ledger"
result_selection = fields.Selection(selection_add=[], default='customer_supplier')
amount_currency = fields.Boolean("With Currency", amount_currency = fields.Boolean("With Currency",
help="It adds the currency column on " help="It adds the currency column on "
"report if the currency differs from " "report if the currency differs from "
"the company currency.") "the company currency.")
reconciled = fields.Boolean('Reconciled Entries') reconciled = fields.Boolean('Reconciled Entries', default=True)
previous_balance = fields.Boolean('Previous Balance', default=True, previous_balance = fields.Boolean('Previous Balance', default=True,
help="Show previous balance before the start date.") help="Show previous balance before the start date.")