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/uom/tests | |
| 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/uom/tests')
| -rw-r--r-- | addons/uom/tests/test_uom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/uom/tests/test_uom.py b/addons/uom/tests/test_uom.py index 9d583cf399f..e2bb332754c 100644 --- a/addons/uom/tests/test_uom.py +++ b/addons/uom/tests/test_uom.py @@ -37,7 +37,7 @@ class TestUom(TransactionCase): self.assertEquals(qty, 1.234, "Converted quantity does not correspond.") def test_20_rounding(self): - product_uom = self.env['product.uom'].create({ + product_uom = self.env['uom.uom'].create({ 'name': 'Score', 'factor_inv': 20, 'uom_type': 'bigger', |
