diff options
| -rw-r--r-- | indoteknik_custom/models/res_partner.py | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/res_partner.xml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py index 8aaee47e..ef1a5cf4 100644 --- a/indoteknik_custom/models/res_partner.py +++ b/indoteknik_custom/models/res_partner.py @@ -196,8 +196,7 @@ class ResPartner(models.Model): previous_payment_term_id = fields.Many2one( 'account.payment.term', - string='Previous Payment Term', - readonly=True + string='Previous Payment Term' ) diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index a7770f1e..72751187 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -21,7 +21,7 @@ <field name="reference_number"/> </field> <field name="property_payment_term_id" position="after"> - <field name="previous_payment_term_id" /> + <field name="previous_payment_term_id" readonly="1"/> <field name="is_cbd_locked" readonly="1"/> <field name="user_payment_terms_sales" readonly="1"/> <field name="date_payment_terms_sales" readonly="1"/> |
