diff --git a/views/account_move.xml b/views/account_move.xml index 7bda03bc25c466a1c9c1d4b59cfbde1c23b23eb2..d9e934c82307b6e1bed99a31fe20ed96dfae3e68 100644 --- a/views/account_move.xml +++ b/views/account_move.xml @@ -46,26 +46,7 @@ </xpath> <xpath expr="//field[@name='partner_id']" position="attributes"> - <attribute name="readonly">True</attribute> - </xpath> - - <xpath - expr="//field[@name='invoice_payment_term_id']" - position="attributes" - > - <attribute name="invisible">1</attribute> - </xpath> - - <xpath expr="//field[@name='invoice_date_due']" position="attributes"> - <attribute - name="attrs" - >{'invisible':[('state','=','draft')]}</attribute> - </xpath> - - <xpath expr="//field[@name='payment_mode_id']" position="attributes"> - <attribute - name="attrs" - >{'invisible':[('state','=','draft')]}</attribute> + <attribute name="readonly">1</attribute> </xpath> </field>