diff options
Diffstat (limited to 'indoteknik_custom/views/approval_date_doc.xml')
| -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> |
