summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-08 10:16:46 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-08 10:16:46 +0700
commita8886eb056d62ace630f15fb3eaa5d55a360b277 (patch)
treefe2ad261719501bd214cd7914897a2d4b6370e52 /indoteknik_custom/views
parent52ed14a408f63bc7d93b7bc393a8a6eb4cd1ac08 (diff)
<miqdad> rev 77 check invoice
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/tukar_guling.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index dc5abec7..201031c4 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -65,7 +65,7 @@
type="object"
class="oe_stat_button"
icon="fa-truck"
- attrs="{'invisible': [('picking_ids', '=', False)]}">
+ attrs="{'invisible': [('picking_ids', '=', False), ('state', 'in', ['draft', 'approval_sales', 'approval_logistic', 'approval_finance'])]}">
<field name="picking_ids" widget="statinfo" string="Delivery"/>
</button>
</div>