diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-09-22 17:20:57 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-09-22 17:20:57 +0700 |
| commit | 54ce5a6396f5d5365d8afba0823167dfb5561cc5 (patch) | |
| tree | eda08c9a17c2600a643ea6bf5fd01ddba44075cf /indoteknik_custom/views | |
| parent | 60fffef5ee0c91ba58a056823fc2feff6241a303 (diff) | |
add approval validation in po confirmation
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 7df2ca9f..21ce3c58 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -14,6 +14,12 @@ attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}" /> </div> + <button id="draft_confirm" position="after"> + <button name="po_approve" + string="Ask Approval" + type="object" + /> + </button> <field name="date_order" position="before"> <field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/> </field> |
