summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-05-15 15:30:11 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-05-15 15:30:11 +0700
commitcaa3b18640a1cffb80677701da5598f42a795a7d (patch)
treec38140231e2e547fea4b4de67a55d274a0eb11d1
parent351934c0b2107782557998feb68c71cc5ba024e0 (diff)
(andri) revisi
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml4
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">