summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-12-15 20:57:35 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-12-15 20:57:35 +0700
commitbb48a99ab5b666b858c4bb9d410c698dada7d542 (patch)
treeb2bd0fadd6ed0f978c139c32b8118777682e364b
parent52066bed7e68757247e17ec89d31959247991595 (diff)
<miqdad> fix ribbon stock picking
-rw-r--r--indoteknik_custom/views/stock_picking.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 1bb7174e..9aa0581c 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -365,10 +365,11 @@
bg_color="bg-danger"
attrs="{
'invisible': [
- '|','|',
+ '|','|', '|',
('tukar_guling_id', '=', False),
('is_rev_tg', '=', False),
- ('picking_type_id', 'not in', [29, 30])
+ ('picking_type_id', 'not in', [29, 30]),
+ ('is_so_fiktif', '=', True)
]}"/>
<widget name="web_ribbon"
@@ -376,10 +377,11 @@
bg_color="bg-success"
attrs="{
'invisible': [
- '|','|',
+ '|','|', '|',
('tukar_guling_id', '=', False),
('is_rev_tg', '=', True),
- ('picking_type_id', 'not in', [29, 30])
+ ('picking_type_id', 'not in', [29, 30]),
+ ('is_so_fiktif', '=', True)
]}"/>
</xpath>
</field>