account_usability: improve the label and help message of hide_bank_statement_balance

This commit is contained in:
Alexis de Lattre
2022-08-05 23:00:45 +02:00
parent 82da5e1afb
commit a69556bad0
2 changed files with 15 additions and 7 deletions

View File

@@ -9,13 +9,15 @@ class AccountJournal(models.Model):
_inherit = 'account.journal' _inherit = 'account.journal'
hide_bank_statement_balance = fields.Boolean( hide_bank_statement_balance = fields.Boolean(
string='Hide Bank Statement Balance', string='Hide and Disable Bank Statement Balance',
help="You may want to enable this option when your bank " help="When this option is enabled, the start and end balance is "
"journal is generated from a bank statement file that " "not displayed on the bank statement form view, and the check of "
"doesn't handle start/end balance (QIF for instance) and " "the end balance vs the real end balance is disabled. When you enable "
"you don't want to enter the start/end balance manually: it " "this option, you process the statement lines without considering "
"will prevent the display of wrong information in the accounting " "the start/end balance and you regularly check the accounting balance "
"dashboard and on bank statements.") "of the bank account vs the amount of your bank account "
"(the 2 processes are managed separately)."
)
# Used to set default user_type_id on account fields via context # Used to set default user_type_id on account fields via context
account_type_current_assets_id = fields.Many2one( account_type_current_assets_id = fields.Many2one(
'account.account.type', 'account.account.type',

View File

@@ -64,6 +64,12 @@
<field name="start_date"/> <field name="start_date"/>
<field name="end_date"/> <field name="end_date"/>
</field> </field>
<field name="balance_start" position="attributes">
<attribute name="optional">show</attribute>
</field>
<field name="balance_end_real" position="attributes">
<attribute name="optional">show</attribute>
</field>
</field> </field>
</record> </record>