<field name="type">form</field>
<field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
<field name="arch" type="xml">
- <xpath expr='//group[@name="toinvoice"]' position='inside'>
- <field name="pricelist_id" attrs="{'invisible': [('invoice_on_timesheets','=',0)]}"/>
- <field name="to_invoice" widget="selection" attrs="{'invisible': [('invoice_on_timesheets','=',0)]}"/>
+ <xpath expr='//group[@name="toinvoice"]' position='inside'>
+ <field name="pricelist_id" />
+ <field name="to_invoice" widget="selection" />
</xpath>
<xpath expr="/form/sheet" position='before'>
<header>