diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-08 09:31:01 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-08 09:31:01 +0700 |
| commit | 1ed9ce9ab59c12fa378cfab02f8919e08f424853 (patch) | |
| tree | a651d0ed73b5e9612cb1152021da682fe67ce496 /indoteknik_custom/views | |
| parent | d51133889b2bfbc7fa2848382f233f5ce268d4d0 (diff) | |
<miqdad> rev 77
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/tukar_guling.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml index 01721b43..dc5abec7 100644 --- a/indoteknik_custom/views/tukar_guling.xml +++ b/indoteknik_custom/views/tukar_guling.xml @@ -50,7 +50,7 @@ attrs="{'invisible': [('state', 'not in', ['approval_sales', 'approval_logistic', 'approval_finance'])]}"/> <button name="action_cancel" string="Cancel" type="object" class="btn-secondary" - attrs="{'invisible': [('state', '=', 'draft')]}" + attrs="{'invisible': [('state', 'in', ['draft', 'cancel'])]}" confirm="Are you sure you want to cancel this record?"/> <button name="action_draft" string="Set to Draft" type="object" class="btn-secondary" |
