mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[MIG] rma: Migration to 17.0
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
name="action_rma_to_approve"
|
||||
type="object"
|
||||
string="Request Approval"
|
||||
attrs="{'invisible':[('state', '!=', 'draft')]}"
|
||||
invisible="state != 'draft'"
|
||||
class="oe_highlight"
|
||||
groups="rma.group_rma_customer_user"
|
||||
/>
|
||||
@@ -46,14 +46,14 @@
|
||||
name="action_rma_draft"
|
||||
type="object"
|
||||
string="Back to Draft"
|
||||
attrs="{'invisible':[('state', '=', 'draft')]}"
|
||||
invisible="state == 'draft'"
|
||||
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
||||
/>
|
||||
<button
|
||||
name="action_rma_approve"
|
||||
type="object"
|
||||
string="Approve"
|
||||
attrs="{'invisible':[('state', '!=', 'to_approve')]}"
|
||||
invisible="state != 'to_approve'"
|
||||
class="oe_highlight"
|
||||
groups="rma.group_rma_manager"
|
||||
/>
|
||||
@@ -61,21 +61,21 @@
|
||||
name="action_rma_approve"
|
||||
type="object"
|
||||
string="Back to Approved"
|
||||
attrs="{'invisible':[('state', '!=', 'done')]}"
|
||||
invisible="state != 'done'"
|
||||
groups="rma.group_rma_customer_user"
|
||||
/>
|
||||
<button
|
||||
name="action_rma_done"
|
||||
type="object"
|
||||
string="Done"
|
||||
attrs="{'invisible':[('state', 'in', ('done', 'draft', 'cancel'))]}"
|
||||
invisible="state in ('done', 'draft', 'cancel')"
|
||||
groups="rma.group_rma_customer_user"
|
||||
/>
|
||||
<button
|
||||
name="action_rma_cancel"
|
||||
type="object"
|
||||
string="Cancel"
|
||||
attrs="{'invisible':[('state', 'in', ('done', 'cancel'))]}"
|
||||
invisible="state in ('done', 'cancel')"
|
||||
groups="rma.group_rma_customer_user"
|
||||
/>
|
||||
<field
|
||||
|
||||
Reference in New Issue
Block a user