summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-03-24 09:32:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-03-24 09:32:19 +0700
commit98e81e0c84f6625aab09bb3b5c5e5137d68c61a0 (patch)
tree849cc9b0cc11c5b83a97db21fd3c0dfa56b7f449 /indoteknik_custom/views
parent3aa64db9c10d0fcb8009e9e6f942672a12669099 (diff)
development create bill from receipt
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/stock_picking.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 0ff79ea8..e4e9f722 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -34,7 +34,7 @@
<button name="action_create_invoice_from_mr"
string="Create Bill"
type="object"
- attrs="{'invisible': [('state', '!=', 'done')]}"
+ attrs="{'invisible': ['|', ('state', '!=', 'done'), ('name', 'ilike', 'out')]}"
/>
</button>
<field name="backorder_id" position="after">