mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
58 lines
2.4 KiB
XML
58 lines
2.4 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
<record id="product_category_form_view" model="ir.ui.view">
|
|
<field name="name">product.category.form</field>
|
|
<field name="model">product.category</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="stock.product_category_form_view_inherit"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<field name="removal_strategy_id" position="after">
|
|
<group name="rma">
|
|
<field
|
|
name="rma_approval_policy"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
/>
|
|
<field
|
|
name="rma_customer_operation_id"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
domain="[('type','=','customer')]"
|
|
/>
|
|
<field
|
|
name="rma_supplier_operation_id"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
domain="[('type','=','supplier')]"
|
|
/>
|
|
</group>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="product_template_form_view" model="ir.ui.view">
|
|
<field name="name">product.template.stock.property.form.inherit</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view" />
|
|
<field name="arch" type="xml">
|
|
<group name="inventory" position="inside">
|
|
<group
|
|
name="rma"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
>
|
|
<field name="rma_approval_policy" />
|
|
<field
|
|
name="rma_customer_operation_id"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
domain="[('type','=','customer')]"
|
|
/>
|
|
<field
|
|
name="rma_supplier_operation_id"
|
|
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user"
|
|
domain="[('type','=','supplier')]"
|
|
/>
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
</odoo>
|