[MIG] rma_reason_code: Migration to 17.0

This commit is contained in:
Meritxell Abellan
2024-12-16 15:59:38 +01:00
parent d1d42fb6d8
commit 1802c71d8a
9 changed files with 40 additions and 22 deletions

View File

@@ -21,7 +21,7 @@
nolabel="1"
colspan="2"
/>
<field name="type" />
<field name="rma_type" />
<field name="color" widget="color_picker" />
</group>
</sheet>
@@ -32,10 +32,10 @@
<field name="name">rma.reason.code.list</field>
<field name="model">rma.reason.code</field>
<field name="arch" type="xml">
<tree string="Reason Codes">
<tree>
<field name="name" />
<field name="description" />
<field name="type" />
<field name="rma_type" />
<field name="color" widget="color_picker" />
</tree>
</field>

View File

@@ -16,7 +16,7 @@
widget="many2many_tags"
options="{'color_field': 'color', 'no_create': True}"
/>
<field name="allowed_reason_code_ids" invisible="1" />
<field name="allowed_reason_code_ids" column_invisible="1" />
</field>
</field>
</record>
@@ -32,7 +32,7 @@
widget="many2many_tags"
options="{'color_field': 'color', 'no_create': True}"
/>
<field name="allowed_reason_code_ids" invisible="1" />
<field name="allowed_reason_code_ids" column_invisible="1" />
</field>
</field>
</record>
@@ -66,8 +66,8 @@
string="Reason Code"
context="{'group_by':'reason_code_ids'}"
/>
<field name="allowed_reason_code_ids" invisible="1" />
<field name="allowed_reason_code_ids" invisible="1" />
<field name="allowed_reason_code_ids" column_invisible="1" />
<field name="allowed_reason_code_ids" column_invisible="1" />
</filter>
</field>
</record>