| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="account_invoice_view_form_inherit_ddt" model="ir.ui.view"> |
| 5 | <field name="name">account.invoice.form.inherit.ddt</field> |
| 6 | <field name="model">account.move</field> |
| 7 | <field name="inherit_id" ref="account.view_move_form"/> |
| 8 | <field name="arch" type="xml"> |
| 9 | <xpath expr="//div[@name='button_box']" position="inside"> |
| 10 | <button name="get_linked_ddts" type="object" class="oe_stat_button" icon="fa-calendar" invisible="l10n_it_ddt_count == 0"> |
| 11 | <field name="l10n_it_ddt_count" widget="statinfo" string="DDTs"/> |
| 12 | </button> |
| 13 | </xpath> |
| 14 | </field> |
| 15 | </record> |
| 16 | |
| 17 | </odoo> |