Skip to content

Commit 15fbd29

Browse files
committed
[18.0] [MIG] stock_landed_costs_analytic: Migration to 18.0
1 parent cc1692b commit 15fbd29

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

stock_landed_costs_analytic/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
This module adds an analytic account and analytic tags on landed costs
88
lines so that on landed costs validation account moves get analytic
99
account and analytic tags values from landed costs lines.""",
10-
"version": "17.0.1.0.0",
10+
"version": "18.0.1.0.0",
1111
"license": "AGPL-3",
1212
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
1313
"website": "https://github.com/OCA/account-analytic",

stock_landed_costs_analytic/tests/test_stock_landed_costs_analytic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def setUp(self):
5353
self.product = self.Product.create(
5454
{
5555
"name": "Product Test",
56-
"type": "product",
56+
"type": "consu",
5757
"standard_price": 1.0,
5858
"categ_id": self.category.id,
5959
}

stock_landed_costs_analytic/views/stock_landed_cost_lines.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<field name="inherit_id" ref="stock_landed_costs.view_stock_landed_cost_form" />
1111
<field name="arch" type="xml">
1212
<xpath
13-
expr="//field[@name='cost_lines']/tree/field[@name='account_id']"
13+
expr="//field[@name='cost_lines']/list/field[@name='account_id']"
1414
position="after"
1515
>
1616
<field

0 commit comments

Comments
 (0)