Skip to content

Commit 8984ad1

Browse files
committed
[MIG] scrap_reason_code : Migration to version 18.0
1 parent 2d5fa6f commit 8984ad1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scrap_reason_code/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "Scrap Reason Code",
5-
"version": "17.0.1.0.1",
5+
"version": "18.0.1.0.0",
66
"license": "AGPL-3",
77
"summary": "Reason code for scrapping",
88
"author": "Open Source Integrators, Odoo Community Association (OCA)",

scrap_reason_code/views/reason_code_view.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
<field name="name">scrap.reason.code.list</field>
3434
<field name="model">scrap.reason.code</field>
3535
<field name="arch" type="xml">
36-
<tree>
36+
<list>
3737
<field name="name" />
3838
<field name="description" />
3939
<field name="location_id" />
4040
<field name="product_category_ids" widget="many2many_tags" />
41-
</tree>
41+
</list>
4242
</field>
4343
</record>
4444
<record id="open_view_scrap_reason_code_form" model="ir.actions.act_window">
4545
<field name="name">Scrap Reason Codes</field>
4646
<field name="res_model">scrap.reason.code</field>
47-
<field name="view_mode">tree,form</field>
47+
<field name="view_mode">list,form</field>
4848
</record>
4949
<menuitem
5050
action="open_view_scrap_reason_code_form"

0 commit comments

Comments
 (0)