Copy unit of measure with different digits in test scenario
issue11187
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user