Skip to content

Commit f4b0ddb

Browse files
committed
[IMP] micro_brewery: update references to renamed model
`website.base.unit` was moved from `website_sale` to `product` and renamed to `product.base.unit`. See odoo/odoo#185040
1 parent f73a9fe commit f4b0ddb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

micro_brewery/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
'data/product_pricelist_item.xml',
3131
'data/pos_category.xml',
3232
'data/pos_config.xml',
33-
'data/website_base_unit.xml',
33+
'data/product_base_unit.xml',
3434
'data/product_template.xml',
3535
'data/product_attribute.xml',
3636
'data/product_attribute_value.xml',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<odoo noupdate="1">
3-
<record id="base_unit_litre" model="website.base.unit">
3+
<record id="base_unit_litre" model="product.base.unit">
44
<field name="name">L</field>
55
</record>
66
</odoo>

tests/test_generic/tests/test_xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def _check_update_status(self, s, filename):
270270
"pos_preparation_display.orderline",
271271
"product.attribute",
272272
"product.attribute.value",
273+
"product.base.unit",
273274
"product.category",
274275
"product.packaging",
275276
"product.pricelist",
@@ -307,7 +308,6 @@ def _check_update_status(self, s, filename):
307308
"uom.category",
308309
"uom.uom",
309310
"website",
310-
"website.base.unit",
311311
"website.menu",
312312
"website.page",
313313
]

0 commit comments

Comments
 (0)