[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
pull/739/head
Víctor Martínez 2024-11-18 08:18:15 +01:00 committed by Duy (Đỗ Anh)
parent 4e1cca260f
commit a64472672f
1 changed files with 3 additions and 0 deletions

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>