diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 09:15:30 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 09:15:30 +0700 |
| commit | b04fb88af7e868a32af5ffbe4b5f5e97a5da4878 (patch) | |
| tree | 958d4dd9c12cbc0304ba714bd2302a310669af96 | |
| parent | c37c440f117cbb5f227096c1fceb74b2809349ee (diff) | |
<Miqdad> hide approval state for adjust in
| -rw-r--r-- | indoteknik_custom/views/stock_inventory.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_inventory.xml b/indoteknik_custom/views/stock_inventory.xml index ebbc5bb3..df747830 100644 --- a/indoteknik_custom/views/stock_inventory.xml +++ b/indoteknik_custom/views/stock_inventory.xml @@ -13,7 +13,7 @@ <xpath expr="//field[@name='location_ids']" position="after"> <field name="number" readonly="1"/> <field name="adjusment_type" /> - <field name="approval_state" readonly="1"/> + <field name="approval_state" readonly="1" attrs="{'invisible': [('adjusment_type', 'not in', ['out'])]}"/> </xpath> </field> </record> |
