diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-09 16:02:24 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-05-09 16:02:24 +0700 |
| commit | 6600698b2e80a8cc86266b7cbad64470d4bcb8b8 (patch) | |
| tree | f1e4e52d7e451e322b6980b678f79e20d158bdd1 | |
| parent | d952f5288b360c4013064b8b6848a54b3c0a20ad (diff) | |
add attributes untuk payment terms so
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index ed389b4c..e0085eeb 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -296,6 +296,12 @@ ['cancel','draft'])]} </attribute> </field> + <field name="payment_term_id" position="attributes"> + <attribute name="attrs"> + {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', + ['cancel','draft'])]} + </attribute> + </field> <page name="customer_signature" position="after"> <page string="Website" name="customer_purchase_order"> |
