Skip to Content
Menu
This question has been flagged
880 Views

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.

Avatar
Discard
Related Posts Replies Views Activity
3
Nov 24
2957
5
Nov 24
7484
2
Oct 24
2890
4
Oct 24
1873
2
Oct 24
4029