diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-17 08:09:57 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-17 08:09:57 +0700 |
| commit | abd7da741c6eec02dbefa195b91dbedd70b3323e (patch) | |
| tree | e6abb2af2a8b685f0a509cd87a28ebb76b7a5cbe /indoteknik_custom/views | |
| parent | a0e90200638e26ad06d1caaf2d91d0aeea3ba19d (diff) | |
<miqdad> add tukar guling PO and move from inventory
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/tukar_guling_po.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml index 840b625b..3ad269ee 100644 --- a/indoteknik_custom/views/tukar_guling_po.xml +++ b/indoteknik_custom/views/tukar_guling_po.xml @@ -40,7 +40,7 @@ <field name="ba_num" string="Nomor BA"/> <field name="return_type" string="Return Type"/> <field name="state" widget="badge" - decoration-info="state in ('draft', 'approval_sales', 'approval_logistic','approval_finance')" + decoration-info="state in ('draft', 'approval_purchase', 'approval_logistic','approval_finance')" decoration-success="state == 'done'" decoration-muted="state == 'cancel'" /> @@ -60,7 +60,7 @@ attrs="{'invisible': [('state', '!=', 'draft')]}"/> <button name="action_approve" string="Approve" type="object" class="btn-primary" - attrs="{'invisible': [('state', 'not in', ['approval_sales', 'approval_logistic', 'approval_finance'])]}"/> + attrs="{'invisible': [('state', 'not in', ['approval_purchase', 'approval_logistic', 'approval_finance'])]}"/> <button name="action_cancel" string="Cancel" type="object" class="btn-secondary" attrs="{'invisible': [('state', '=', 'draft')]}" @@ -70,7 +70,7 @@ attrs="{'invisible': [('state', '!=', 'cancel')]}" confirm="Are you sure you want to reset this record to draft?"/> <field name="state" widget="statusbar" readonly="1" - statusbar_visible="draft,approval_sales,approval_logistic,approval_finance,done"/> + statusbar_visible="draft,approval_purchase,approval_logistic,approval_finance,done"/> </header> <sheet> <div class="oe_title"> |
