diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-18 11:34:19 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-18 11:34:19 +0700 |
| commit | 61a1d7e817de31b52285b6bf6448c321f1beac08 (patch) | |
| tree | 4394635466e390a1c17bd4c37f11faaa68ed18d1 /indoteknik_custom/views | |
| parent | 0e026757427842dc865a5cbf17f2e3d85a30875c (diff) | |
<Miqdad> tracking & readonly sales team
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 9495c7ce..23fbe155 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -147,6 +147,10 @@ <field name="helper_by_id" readonly="1" /> <field name="compute_fullfillment" invisible="1" /> </field> + <xpath expr="//field[@name='team_id']" position="attributes"> + <attribute name="attrs">{'readonly': [('state', 'in', ['sale', 'done'])]}</attribute> + </xpath> + <field name="tag_ids" position="after"> <!-- <field name="eta_date_start"/> --> <t t-esc="' to '"/> |
