[IMP] account_accountant: bank statement smartbutton
When a user imports a bank statement, reconciles some moves,.. later on, he does not have the ability to easely go back to the bank statement and see the others items / continue his work. This commit enable the user to move from the journal entry to the bank statement reconciliation widget where he will see all items (if any). task-id: 3116184 [community](https://github.com/odoo/odoo/pull/109039) [enterprise](https://github.com/odoo/enterprise/pull/35580) closes odoo/odoo#109039 Related: odoo/enterprise#35580 Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
@@ -164,6 +164,9 @@ class AccountMove(models.Model):
|
||||
copy=False,
|
||||
check_company=True,
|
||||
)
|
||||
statement_id = fields.Many2one(
|
||||
related="statement_line_id.statement_id"
|
||||
)
|
||||
|
||||
# === Cash basis feature fields === #
|
||||
# used to keep track of the tax cash basis reconciliation. This is needed
|
||||
|
||||
@@ -741,6 +741,7 @@
|
||||
<field name="country_code" invisible="1"/>
|
||||
<field name="display_inactive_currency_warning" invisible="1"/>
|
||||
<field name="statement_line_id" invisible="1"/>
|
||||
<field name="statement_id" invisible="1"/>
|
||||
<field name="payment_id" invisible="1"/>
|
||||
<field name="tax_country_id" invisible="1"/>
|
||||
<field name="tax_cash_basis_created_move_ids" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user