You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
1.2 KiB

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Inherit Form View to add the dashboard in Invoices -->
<record id="view_out_invoice_tree" model="ir.ui.view">
<field name="name">
account.move.out.invoice.view.tree.inherit.invoice.mini.dashboard
</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_out_invoice_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="js_class">invoice_dashboard_list</attribute>
</xpath>
</field>
</record>
<!-- Inherit Form View to add the dashboard in Bills-->
<record id="view_in_invoice_tree" model="ir.ui.view">
<field name="name">
account.move.in.invoice.view.tree.inherit.invoice.mini.dashboard
</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_in_invoice_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="js_class">bill_dashboard_list</attribute>
</xpath>
</field>
</record>
</odoo>