[IMP] account_statement_base: add form to statement view_mode

pull/614/head
Ronald Portier (Therp BV) 2023-04-05 10:11:49 +02:00 committed by Rocío Vega
parent fddc3f9f6c
commit 70bae87d65
2 changed files with 18 additions and 1 deletions

View File

@ -13,6 +13,9 @@
"development_status": "Mature",
"website": "https://github.com/OCA/account-reconcile",
"depends": ["account"],
"data": ["views/account_bank_statement_line.xml"],
"data": [
"views/account_bank_statement.xml",
"views/account_bank_statement_line.xml",
],
"installable": True,
}

View File

@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<!--
Copyright 2023 Therp BV
Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
-->
<odoo>
<!-- Add form to view mode. -->
<record id="account.action_bank_statement_tree" model="ir.actions.act_window">
<field name="res_model">account.bank.statement</field>
<field name="view_mode">tree,form,pivot,graph</field>
</record>
</odoo>