summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-15 13:15:28 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-15 13:15:28 +0700
commit281712797fccafcc2fc0f89b152c636c02ac2c46 (patch)
treec83a63b58fd2414632ae0c3695dd801fafbc1071
parent6da1814f7baaa1973bdde9932d629d33ed436e93 (diff)
parent86661812c0c27c35f1df908a919d03d62f32cc3b (diff)
Merge branch 'odoo-production' of bitbucket.org:altafixco/indoteknik-addons into odoo-production
-rwxr-xr-xindoteknik_custom/views/sale_order.xml2
-rw-r--r--indoteknik_custom/views/user_pengajuan_tempo.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 3539dbf3..008a04ed 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -14,7 +14,7 @@
<button name="sale_order_approve"
string="Ask Approval"
type="object"
- attrs="{'invisible': [('approval_status', 'in', ['pengajuan1', 'pengajuan2', 'approved'])]}"
+ attrs="{'invisible': [('approval_status', '=', ['approved'])]}"
/>
<button name="action_web_approve"
string="Web Approve"
diff --git a/indoteknik_custom/views/user_pengajuan_tempo.xml b/indoteknik_custom/views/user_pengajuan_tempo.xml
index f9e747b3..33ad91cf 100644
--- a/indoteknik_custom/views/user_pengajuan_tempo.xml
+++ b/indoteknik_custom/views/user_pengajuan_tempo.xml
@@ -339,6 +339,6 @@
</record>
<!-- Menu item to access Pengajuan Tempo -->
- <menuitem id="menu_user_pengajuan_tempo_root" name="Pengajuan Tempo" />
- <menuitem id="menu_user_pengajuan_tempo" name="Pengajuan Tempo Records" parent="menu_user_pengajuan_tempo_root" action="action_user_pengajuan_tempo"/>
+<!-- <menuitem id="menu_user_pengajuan_tempo_root" name="Pengajuan Tempo" />-->
+<!-- <menuitem id="menu_user_pengajuan_tempo" name="Pengajuan Tempo Records" parent="menu_user_pengajuan_tempo_root" action="action_user_pengajuan_tempo"/>-->
</odoo>