summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-11 16:40:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-11 16:40:46 +0700
commitee106a0245fe05c3b5341e7c0f2606d7c5adb8de (patch)
tree0099cdbc9f9e97bed38b9e87681fc9fb152f3518 /indoteknik_custom/views
parenteeff963c94f4d933b89308f40b387fd67ef881c4 (diff)
<iman> add tracking reason reject and reset to draft
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/user_pengajuan_tempo_request.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/indoteknik_custom/views/user_pengajuan_tempo_request.xml b/indoteknik_custom/views/user_pengajuan_tempo_request.xml
index b6a6206e..4f047831 100644
--- a/indoteknik_custom/views/user_pengajuan_tempo_request.xml
+++ b/indoteknik_custom/views/user_pengajuan_tempo_request.xml
@@ -28,7 +28,11 @@
class="oe_highlight"/>
<button name="button_reject"
string="Reject"
- attrs="{'invisible': [('state_tempo', 'in', ['approval_director','reject'])]}"
+ type="object"
+ class="oe_highlight"/>
+ <button name="button_draft"
+ string="Reset to Draft"
+ attrs="{'invisible': [('state_tempo', '!=', 'reject')]}"
type="object"
class="oe_highlight"/>
<field name="state_tempo" widget="statusbar"