summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-08-22 14:10:53 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-08-22 14:10:53 +0700
commit464c85d149b6425d1679753ca9216e96d1da8302 (patch)
tree11abc78754ae53fe041dfd298b88fb7fc20cf090 /indoteknik_custom/views
parentafc15102bd80275566c847948c411abfd2faab50 (diff)
add cancel to approval date doc
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/approval_date_doc.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/approval_date_doc.xml b/indoteknik_custom/views/approval_date_doc.xml
index 58bf38d8..3d597aa8 100644
--- a/indoteknik_custom/views/approval_date_doc.xml
+++ b/indoteknik_custom/views/approval_date_doc.xml
@@ -29,6 +29,11 @@
type="object"
attrs="{'invisible': [('state', '=', 'done')]}"
/>
+ <button name="button_cancel"
+ string="Cancel"
+ type="object"
+ attrs="{'invisible': [('state', '=', 'cancel')]}"
+ />
</header>
<sheet string="Approval Date Doc">
<group>
@@ -41,6 +46,7 @@
<field name="approve_date"/>
<field name="approve_by"/>
<field name="create_uid"/>
+ <field name="note" attrs="{'invisible': [('state', '!=', 'cancel')]}"/>
<field name="state" readonly="1"/>
</group>
</group>