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