mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma operation form view
use the archive button in the form view, rather than a normal boolean field.
This commit is contained in:
committed by
ahenriquez
parent
3b123ea5de
commit
3b0a371a02
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'RMA (Return Merchandise Authorization)',
|
'name': 'RMA (Return Merchandise Authorization)',
|
||||||
'version': '12.0.2.1.0',
|
'version': '12.0.2.2.0',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'category': 'RMA',
|
'category': 'RMA',
|
||||||
'summary': 'Introduces the return merchandise authorization (RMA) process '
|
'summary': 'Introduces the return merchandise authorization (RMA) process '
|
||||||
|
|||||||
@@ -19,35 +19,43 @@
|
|||||||
<field name="model">rma.operation</field>
|
<field name="model">rma.operation</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="RMA Operations">
|
<form string="RMA Operations">
|
||||||
<group colspan="4" col="2">
|
<sheet>
|
||||||
<group name="description"
|
<div class="oe_button_box" name="button_box">
|
||||||
string="Description">
|
<button name="toggle_active" type="object"
|
||||||
<field name="code"/>
|
class="oe_stat_button" icon="fa-archive">
|
||||||
<field name="name"/>
|
<field name="active" widget="boolean_button"
|
||||||
<field name="type"/>
|
options='{"terminology": "archive"}'/>
|
||||||
<field name="active"/>
|
</button>
|
||||||
<field name="company_id" groups="base.group_multi_company"/>
|
</div>
|
||||||
|
<group colspan="4" col="2">
|
||||||
|
<group name="description"
|
||||||
|
string="Description">
|
||||||
|
<field name="code"/>
|
||||||
|
<field name="name"/>
|
||||||
|
<field name="type"/>
|
||||||
|
<field name="company_id" groups="base.group_multi_company"/>
|
||||||
|
</group>
|
||||||
|
<group name="policies"
|
||||||
|
string="Policies">
|
||||||
|
<field name="receipt_policy"/>
|
||||||
|
<field name="delivery_policy"/>
|
||||||
|
</group>
|
||||||
|
<group name="inbound" string="Inbound">
|
||||||
|
<field name="in_route_id"/>
|
||||||
|
<field name="in_warehouse_id"/>
|
||||||
|
<field name="location_id"
|
||||||
|
domain="[('usage', '=', 'internal')]"/>
|
||||||
|
<field name="customer_to_supplier"
|
||||||
|
attrs="{'invisible':[('type', '=', 'supplier')]}"/>
|
||||||
|
</group>
|
||||||
|
<group name="outbound" string="Outbound">
|
||||||
|
<field name="out_route_id"/>
|
||||||
|
<field name="out_warehouse_id"/>
|
||||||
|
<field name="supplier_to_customer"
|
||||||
|
attrs="{'invisible':[('type', '=', 'customer')]}"/>
|
||||||
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<group name="policies"
|
</sheet>
|
||||||
string="Policies">
|
|
||||||
<field name="receipt_policy"/>
|
|
||||||
<field name="delivery_policy"/>
|
|
||||||
</group>
|
|
||||||
<group name="inbound" string="Inbound">
|
|
||||||
<field name="in_route_id"/>
|
|
||||||
<field name="in_warehouse_id"/>
|
|
||||||
<field name="location_id"
|
|
||||||
domain="[('usage', '=', 'internal')]"/>
|
|
||||||
<field name="customer_to_supplier"
|
|
||||||
attrs="{'invisible':[('type', '=', 'supplier')]}"/>
|
|
||||||
</group>
|
|
||||||
<group name="outbound" string="Outbound">
|
|
||||||
<field name="out_route_id"/>
|
|
||||||
<field name="out_warehouse_id"/>
|
|
||||||
<field name="supplier_to_customer"
|
|
||||||
attrs="{'invisible':[('type', '=', 'customer')]}"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user