Adapt tests to centimeters capitalization

issue10973
This commit is contained in:
Raimon Esteve 2021-11-25 12:16:03 +01:00
parent f91d94d0e1
commit a8e6232870
1 changed files with 2 additions and 2 deletions

View File

@ -131,8 +131,8 @@ Create Components::
>>> component1.cost_price = Decimal(1)
>>> component1.save()
>>> meter, = ProductUom.find([('name', '=', 'Meter')])
>>> centimeter, = ProductUom.find([('name', '=', 'centimeter')])
>>> meter, = ProductUom.find([('symbol', '=', 'm')])
>>> centimeter, = ProductUom.find([('symbol', '=', 'cm')])
>>> component2 = Product()
>>> template2 = ProductTemplate()
>>> template2.name = 'component 2'