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"
|
name="action_rma_to_approve"
|
||||||
type="object"
|
type="object"
|
||||||
string="Request Approval"
|
string="Request Approval"
|
||||||
attrs="{'invisible':[('state', '!=', 'draft')]}"
|
invisible="state != 'draft'"
|
||||||
class="oe_highlight"
|
class="oe_highlight"
|
||||||
groups="rma.group_rma_customer_user"
|
groups="rma.group_rma_customer_user"
|
||||||
/>
|
/>
|
||||||
@@ -46,14 +46,14 @@
|
|||||||
name="action_rma_draft"
|
name="action_rma_draft"
|
||||||
type="object"
|
type="object"
|
||||||
string="Back to Draft"
|
string="Back to Draft"
|
||||||
attrs="{'invisible':[('state', '=', 'draft')]}"
|
invisible="state == 'draft'"
|
||||||
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
name="action_rma_approve"
|
name="action_rma_approve"
|
||||||
type="object"
|
type="object"
|
||||||
string="Approve"
|
string="Approve"
|
||||||
attrs="{'invisible':[('state', '!=', 'to_approve')]}"
|
invisible="state != 'to_approve'"
|
||||||
class="oe_highlight"
|
class="oe_highlight"
|
||||||
groups="rma.group_rma_manager"
|
groups="rma.group_rma_manager"
|
||||||
/>
|
/>
|
||||||
@@ -61,21 +61,21 @@
|
|||||||
name="action_rma_approve"
|
name="action_rma_approve"
|
||||||
type="object"
|
type="object"
|
||||||
string="Back to Approved"
|
string="Back to Approved"
|
||||||
attrs="{'invisible':[('state', '!=', 'done')]}"
|
invisible="state != 'done'"
|
||||||
groups="rma.group_rma_customer_user"
|
groups="rma.group_rma_customer_user"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
name="action_rma_done"
|
name="action_rma_done"
|
||||||
type="object"
|
type="object"
|
||||||
string="Done"
|
string="Done"
|
||||||
attrs="{'invisible':[('state', 'in', ('done', 'draft', 'cancel'))]}"
|
invisible="state in ('done', 'draft', 'cancel')"
|
||||||
groups="rma.group_rma_customer_user"
|
groups="rma.group_rma_customer_user"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
name="action_rma_cancel"
|
name="action_rma_cancel"
|
||||||
type="object"
|
type="object"
|
||||||
string="Cancel"
|
string="Cancel"
|
||||||
attrs="{'invisible':[('state', 'in', ('done', 'cancel'))]}"
|
invisible="state in ('done', 'cancel')"
|
||||||
groups="rma.group_rma_customer_user"
|
groups="rma.group_rma_customer_user"
|
||||||
/>
|
/>
|
||||||
<field
|
<field
|
||||||
|
|||||||
Reference in New Issue
Block a user