diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-08-14 15:28:23 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-08-14 15:28:23 +0700 |
| commit | 8de88de447f441f129c44e9a0c6f57dd27d40512 (patch) | |
| tree | 893da0ad7e4c4c376b37be98c901b3f991475aeb /indoteknik_custom/views/res_partner.xml | |
| parent | c5e742d609ec379b6d0228f8274b3d97bda9214d (diff) | |
read only payment term
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> |
