summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-21 13:23:39 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-21 13:23:39 +0700
commit24d8b692fe8f85d638da0c9d4fbc22a860464ed9 (patch)
tree8c9627757f3cde07f53214f0f25f08d3fda9d143
parent8da0163ea3fdc87eff8214a9fda4f2594404b4e3 (diff)
fix error
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 80c0ebf5..0ef0aa7f 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -27,7 +27,7 @@
<button name="delete_line" type="object" string="Delete " states="draft"/>
</button>
<button name="button_unlock" position="after">
- <button name="create_bill_dp" string="Create Bill DP" type="object" class="oe_highlight" attrs="{'invisible': ['|', ('state', 'not in', ('purchase', 'done'))"/>
+ <button name="create_bill_dp" string="Create Bill DP" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', ('purchase', 'done'))]}"/>
</button>
<field name="date_order" position="before">
<field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/>