diff options
| author | XavierDo <xdo@odoo.com> | 2018-02-14 14:08:51 +0100 |
|---|---|---|
| committer | XavierDo <xdo@odoo.com> | 2018-02-26 14:27:26 +0100 |
| commit | 2966d4faedb2817039ed608dff48acfda418109e (patch) | |
| tree | e2bb0ec6e24151bcca8d40cb0ef4433295a7119e /addons/purchase/tests/test_create_picking.py | |
| parent | 6a378e383910ab597359f95c38028b229fc82cc7 (diff) | |
[IMP] product: rename product.uom into uom.uom
Also rename product.uom.categ into uom.category to
give it a decent name.
Diffstat (limited to 'addons/purchase/tests/test_create_picking.py')
| -rw-r--r-- | addons/purchase/tests/test_create_picking.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/purchase/tests/test_create_picking.py b/addons/purchase/tests/test_create_picking.py index 9cdfe0fb4fd..49711eb32a9 100644 --- a/addons/purchase/tests/test_create_picking.py +++ b/addons/purchase/tests/test_create_picking.py @@ -182,8 +182,8 @@ class TestCreatePicking(common.TestProductCommon): updated on the moves. Edit the ir.config_parameter to propagate the uom of the purchase order lines to the moves and edit a last time the ordered quantities. Receive, check the quantities. """ - uom_unit = self.env.ref('product.product_uom_unit') - uom_dozen = self.env.ref('product.product_uom_dozen') + uom_unit = self.env.ref('uom.product_uom_unit') + uom_dozen = self.env.ref('uom.product_uom_dozen') self.assertEqual(self.product_id_1.uom_po_id.id, uom_unit.id) |
