diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-05-15 15:30:11 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-05-15 15:30:11 +0700 |
| commit | caa3b18640a1cffb80677701da5598f42a795a7d (patch) | |
| tree | c38140231e2e547fea4b4de67a55d274a0eb11d1 | |
| parent | 351934c0b2107782557998feb68c71cc5ba024e0 (diff) | |
(andri) revisi
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index bd842a76..e1ff099b 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -38,7 +38,7 @@ <button name="create_bill_pelunasan" string="Create Bill Pelunasan" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', ('purchase', 'done')), ('bills_pelunasan_id', '!=', False)]}"/> </button> <button name="create_bill_dp" position="after"> - <button name="sync_price_to_so" string="Sync Price to SO" type="object" attrs="{'invisible': [('state', 'in', ['draft', 'cancel'])]}"/> + <button name="sync_price_to_so" string="Sync Price to SO" type="object" attrs="{'invisible': [('state', 'in', ['cancel'])]}"/> </button> <field name="date_order" position="before"> <field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/> @@ -146,7 +146,7 @@ </field> <xpath expr="//field[@name='order_line']/tree/field[1]" position="before"> - <field name="mark_po_line" widget="boolean_toggle" attrs="{'invisible': [('state', 'in', ['draft', 'cancel'])]}"/> + <field name="mark_po_line" widget="boolean_toggle" attrs="{'invisible': [('state', 'in', ['cancel'])]}"/> </xpath> <xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="attributes"> |
