diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-05 11:48:57 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-05 11:48:57 +0700 |
| commit | 921bbc2f0b5b82945aebc11e96ba3847c6f2904d (patch) | |
| tree | d870c77031b5b79154c199549c0d2dde5e2f9269 /indoteknik_custom/views | |
| parent | b00d3caf6cd21ae74872031536ceb2f1ff570316 (diff) | |
(andri) Make the SPPKP & Customer Type columns read-only in SO and ensure the data (along with NPWP) is connected to the contact
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 376ccb20..633ac6d1 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -98,9 +98,9 @@ <field name="pareto_status" /> </field> <field name="analytic_account_id" position="after"> - <field name="customer_type" required="1" /> + <field name="customer_type" readonly="1" /> <field name="npwp" placeholder='99.999.999.9-999.999' readonly="1" /> - <field name="sppkp" attrs="{'required': [('customer_type', '=', 'pkp')]}" /> + <field name="sppkp" attrs="{'required': [('customer_type', '=', 'pkp')]}" readonly="1" /> <field name="email" required="1" /> <field name="unreserve_id" /> <field name="due_id" readonly="1" /> |
