Skip to content

Commit 5725a9b

Browse files
committed
[MIG] sale_order_line_input: Migration to 18.0
1 parent d6bd318 commit 5725a9b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sale_order_line_input/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"name": "Sale Order Line Input",
77
"summary": "Search, create or modify directly sale order lines",
8-
"version": "17.0.1.0.0",
8+
"version": "18.0.1.0.0",
99
"category": "Sales",
1010
"website": "https://github.com/OCA/sale-workflow",
1111
"author": "Tecnativa, Odoo Community Association (OCA)",

sale_order_line_input/views/sale_order_line_view.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
66
<odoo>
77
<record id="view_sales_order_line_input_tree" model="ir.ui.view">
8-
<field name="name">sale.order.line.input.tree.</field>
8+
<field name="name">sale.order.line.input.list.view</field>
99
<field name="model">sale.order.line</field>
1010
<field name="priority">20</field>
1111
<field name="arch" type="xml">
12-
<tree
12+
<list
1313
decoration-info="invoice_status == 'to invoice'"
1414
decoration-warning="state == 'draft'"
1515
decoration-muted="state == 'cancel'"
@@ -161,7 +161,7 @@
161161
<field
162162
name="product_packaging_id"
163163
invisible="not product_id"
164-
context="{'default_product_id': product_id, 'tree_view_ref':'product.product_packaging_tree_view', 'form_view_ref':'product.product_packaging_form_view'}"
164+
context="{'default_product_id': product_id, 'list_view_ref':'product.product_packaging_tree_view', 'form_view_ref':'product.product_packaging_form_view'}"
165165
groups="product.group_stock_packaging"
166166
optional="show"
167167
/>
@@ -178,7 +178,7 @@
178178
<field
179179
name="discount"
180180
string="Disc.%"
181-
groups="product.group_discount_per_so_line"
181+
groups="sale.group_discount_per_so_line"
182182
optional="show"
183183
/>
184184
<field name="is_downpayment" column_invisible="1" />
@@ -200,7 +200,7 @@
200200
<field name="price_tax" column_invisible="1" />
201201
<field name="company_id" column_invisible="1" />
202202
<field name="pricelist_id" column_invisible="1" />
203-
</tree>
203+
</list>
204204
</field>
205205
</record>
206206
<record id="view_sales_order_line_filter" model="ir.ui.view">
@@ -251,7 +251,7 @@
251251
<field name="name">Sales Orders Lines</field>
252252
<field name="type">ir.actions.act_window</field>
253253
<field name="res_model">sale.order.line</field>
254-
<field name="view_mode">tree,form,pivot,graph</field>
254+
<field name="view_mode">list,form,pivot,graph</field>
255255
<field name="view_id" ref="view_sales_order_line_input_tree" />
256256
</record>
257257
<menuitem

0 commit comments

Comments
 (0)