[FIX] account_statement_base: Allow statements to be created by clicking on the New button (only on cash ones).

If you access the list of statements from the Create button, you should be able to create new records.

TT51767
This commit is contained in:
Víctor Martínez
2024-11-18 08:18:15 +01:00
parent 10ceaf338b
commit e5f159fc3e

View File

@@ -95,6 +95,9 @@
<field name="res_model">account.bank.statement</field>
<field name="view_mode">tree,form,pivot,graph</field>
</record>
<record id="account.action_view_bank_statement_tree" model="ir.actions.act_window">
<field name="view_mode">tree,form,pivot,graph</field>
</record>
<record id="view_bank_statement_tree" model="ir.ui.view">
<field name="name">account.bank.statement.tree</field>