diff options
Diffstat (limited to 'indoteknik_custom/views/res_partner.xml')
| -rw-r--r-- | indoteknik_custom/views/res_partner.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index bfac1eb3..d77e09b8 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -56,6 +56,12 @@ <field name="main_parent_id" invisible="1" /> <field name="site_id" attrs="{'readonly': [('parent_id', '=', False)]}" domain="[('partner_id', '=', main_parent_id)]" context="{'default_partner_id': active_id}" /> </xpath> + <xpath expr="//field[@name='property_payment_term_id']" position="attributes"> + <attribute name="readonly">1</attribute> + </xpath> + <xpath expr="//field[@name='property_supplier_payment_term_id']" position="attributes"> + <attribute name="readonly">1</attribute> + </xpath> </field> </record> </data> |
