parent
e9b1e6aa85
commit
6114d0b5b8
|
@ -118,7 +118,7 @@ Create Components::
|
||||||
>>> component1.save()
|
>>> component1.save()
|
||||||
|
|
||||||
>>> meter, = ProductUom.find([('name', '=', 'Meter')])
|
>>> meter, = ProductUom.find([('name', '=', 'Meter')])
|
||||||
>>> centimeter, = ProductUom.find([('name', '=', 'centimeter')])
|
>>> centimeter, = ProductUom.find([('symbol', '=', 'cm')])
|
||||||
>>> component2 = Product()
|
>>> component2 = Product()
|
||||||
>>> template2 = ProductTemplate()
|
>>> template2 = ProductTemplate()
|
||||||
>>> template2.name = 'component 2'
|
>>> template2.name = 'component 2'
|
||||||
|
|
Loading…
Reference in New Issue