diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 15:06:17 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 15:06:17 +0700 |
| commit | 7aadac577c7bdacf1fab54c23fe50b04fba08393 (patch) | |
| tree | 56fc6feff537ecee64d842f94e2d38a0bfe49f53 /indoteknik_custom/views/gudang_service.xml | |
| parent | b6d2feb969d38e1991e5afa129813da89e8a51fb (diff) | |
<Miqdad> fix state
Diffstat (limited to 'indoteknik_custom/views/gudang_service.xml')
| -rw-r--r-- | indoteknik_custom/views/gudang_service.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/views/gudang_service.xml b/indoteknik_custom/views/gudang_service.xml index 68e2428c..6abdcc8b 100644 --- a/indoteknik_custom/views/gudang_service.xml +++ b/indoteknik_custom/views/gudang_service.xml @@ -31,16 +31,16 @@ <header> <button name="action_submit" string="Proceed" type="object" class="btn-primary" - attrs="{'invisible': [('state', 'in', ['cancel', 'done', 'onprogress'])]}"/> + attrs="{'invisible': [('state', 'in', ['cancel', 'done', 'received_from_vendor', 'delivered_to_cust'])]}"/> <button name="action_done" string="Set Done" type="object" class="btn-primary" - attrs="{'invisible': [('state', 'not in', ['onprogress'])]}"/> + attrs="{'invisible': [('state', 'not in', ['received_from_vendor'])]}"/> <button name="action_cancel" string="Cancel" type="object" class="btn-secondary" - attrs="{'invisible': [('state', 'in', ['cancel', 'done', 'draft'])]}"/> + attrs="{'invisible': [('state', 'in', ['cancel', 'delivered_to_cust'])]}"/> <button name="action_draft" string="Set to Backlog" type="object" class="btn-secondary" - attrs="{'invisible': [('state', 'in', ['draft', 'done', 'onprogress'])]}"/> + attrs="{'invisible': [('state', 'not in', ['cancel'])]}"/> <field name="state" widget="statusbar" readonly="1"/> </header> <sheet> |
