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.
|
|
<?xml version="1.0"?> <openerp> <data>
<record id="act_analytic_invoices" model="ir.actions.act_window"> <field name="name">Invoices</field> <field name="res_model">account.invoice</field> <field name="view_ids" eval="[(5, 0, 0), (0, 0, {'view_mode': 'tree', 'view_id': ref('account.invoice_tree')}), (0, 0, {'view_mode': 'form', 'view_id': ref('account.invoice_form')})]"/> <field name="context">{'search_default_analytic_account_ids': [active_id]}</field> </record>
<record id="account_analytic_account_button_invoice" model="ir.ui.view"> <field name="name">account.analytic.account.button.invoice </field> <field name="model">account.analytic.account</field> <field name="inherit_id" ref="analytic.view_account_analytic_account_form" /> <field name="arch" type="xml"> <xpath expr='//div[@name="button_box"]' position='inside'> <button class="oe_stat_button" type="action" icon="fa-edit" name="%(contract_show_invoice.act_analytic_invoices)d" string="Invoices" help="Invoices related with this contract"> </button> </xpath> </field> </record>
</data> </openerp>
|