Hi,
I would like to hide some fields on account.view_move_form so I created a new view:
id="view_move_form" model="ir.ui.view">
name="name">contribution.ledger.move.form
name="model">account.move
name="inherit_id" ref="account.view_move_form"/>
name="mode">primary
name="arch" type="xml">
expr="//field[@name='partner_id']" position="after">
name="contribution_ledger_close_move_id"/>
expr="//field[@name='ref']" position="attributes">
name="invisible">True
expr="//field[@name='invoice_vendor_bill_id']" position="attributes">
name="invisible">True
expr="//field[@name='date']" position="attributes">
name="invisible">True
expr="//field[@name='payment_reference']" position="attributes">
name="invisible">True
expr="//notebook/page[@id='other_tab']" position="attributes">
name="invisible">True
ref and date are successfully hided on Invoices menu but on Bills menu.
Please help. Thank you.