diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-22 14:10:53 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-22 14:10:53 +0700 |
| commit | 464c85d149b6425d1679753ca9216e96d1da8302 (patch) | |
| tree | 11abc78754ae53fe041dfd298b88fb7fc20cf090 /indoteknik_custom/views | |
| parent | afc15102bd80275566c847948c411abfd2faab50 (diff) | |
add cancel to approval date doc
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/approval_date_doc.xml | 6 |
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> |
