Production: error when trying to save a BOM
I tried to save a BOM and the following error came up:
________________________________________________________________________________
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 166, in dispatch
result = rpc.result(meth(inst, *c_args, **c_kwargs))
File "/trytond/model/model.py", line 399, in on_change
changes.append(method())
File "/trytond/model/fields/field.py", line 89, in wrapper
return func(self, *args, **kwargs)
File "/trytond/modules/production/production.py", line 356, in on_change_bom
return self.explode_bom()
File "/trytond/modules/production/production.py", line 285, in explode_bom
quantity = input_.compute_quantity(factor)
File "/trytond/modules/production/bom.py", line 128, in compute_quantity
return Uom.round(self.quantity * factor, self.uom.rounding)
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
________________________________________________________________________________
I am using trytond_production-3.4.2 and version 3.4.4 either on the client and the server