Copy unit of measure with different digits in test scenario

issue11187
This commit is contained in:
Cédric Krier
2022-03-09 01:02:12 +01:00
parent 64749e6dee
commit 7e0d657ccc
@@ -114,9 +114,7 @@ Create product::
>>> unit.rounding = 0.01
>>> unit.save()
>>> cm, = Uom.find([('name', '=', "Centimeter")])
>>> cm.digits = 0
>>> cm.rounding = 1
>>> cm.save()
>>> cm, = cm.duplicate(default={'digits': 0, 'rounding': 1})
>>> template = ProductTemplate()
>>> template.name = "Product 1"