accountant_cn
This commit is contained in:
34
accountant_cn/views/views__dn_report_actions.xml
Normal file
34
accountant_cn/views/views__dn_report_actions.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!--
|
||||
Client actions are declared in their own file, loaded before the views,
|
||||
because a form button may reference them by external id.
|
||||
-->
|
||||
|
||||
<!-- Generic viewer: the report is resolved from report_code / report_id -->
|
||||
<record id="action_dn_report_view" model="ir.actions.client">
|
||||
<field name="name">Report Preview</field>
|
||||
<field name="tag">dn_report_view</field>
|
||||
<field name="params" eval="{'report_id': False}"/>
|
||||
</record>
|
||||
|
||||
<record id="action_dn_report_tb" model="ir.actions.client">
|
||||
<field name="name">Trial Balance (DN)</field>
|
||||
<field name="tag">dn_report_view</field>
|
||||
<field name="params" eval="{'report_code': 'DN_TB'}"/>
|
||||
</record>
|
||||
|
||||
<record id="action_dn_report_pl" model="ir.actions.client">
|
||||
<field name="name">Profit and Loss (DN)</field>
|
||||
<field name="tag">dn_report_view</field>
|
||||
<field name="params" eval="{'report_code': 'DN_PL'}"/>
|
||||
</record>
|
||||
|
||||
<record id="action_dn_report_bs" model="ir.actions.client">
|
||||
<field name="name">Balance Sheet (DN)</field>
|
||||
<field name="tag">dn_report_view</field>
|
||||
<field name="params" eval="{'report_code': 'DN_BS'}"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user