Hi all, all of sudden (no code was changed) I got this error when confirming RFQ. Can someone please check out why is it happening?
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/odoo/src/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1398, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1386, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/src/odoo/addons/purchase/models/purchase.py", line 411, in button_confirm
order.button_approve()
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 91, in button_approve
self._create_picking()
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 226, in _create_picking
moves = order.order_line._create_stock_moves(picking)
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 521, in _create_stock_moves
for val in line._prepare_stock_moves(picking):
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 421, in _prepare_stock_moves
price_unit = self._get_stock_move_price_unit()
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write
moves.write({'price_unit': line._get_stock_move_price_unit()})
File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit
self.price_unit = price
File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 335, in write
result = super(PurchaseOrderLine, self).write(values)
File "/home/odoo/src/odoo/addons/purchase/models/purchase.py", line 982, in write
return super(PurchaseOrderLine, self).write(values)
File "/home/odoo/src/odoo/odoo/models.py", line 3572, in write
self.check_access_rule('write')
File "/home/odoo/src/odoo/odoo/models.py", line 3347, in check_access_rule
invalid = self - self._filter_access_rules_python(operation)
File "/home/odoo/src/odoo/odoo/models.py", line 3402, in _filter_access_rules_python
return self.sudo().filtered_domain(dom or [])
File "/home/odoo/src/odoo/odoo/models.py", line 5060, in sudo
return self.with_env(self.env(su=flag))
File "/home/odoo/src/odoo/odoo/api.py", line 510, in __call__
return Environment(cr, uid, context, su)
File "/home/odoo/src/odoo/odoo/api.py", line 449, in __new__
env, envs = None, cls.envs
File "/home/odoo/src/odoo/odoo/tools/func.py", line 114, in __get__
return self.fget.__get__(None, owner)()
File "/home/odoo/src/odoo/odoo/api.py", line 420, in envs
return getattr(cls._local, 'environments', ())
File "/usr/lib/python3/dist-packages/werkzeug/local.py", line 72, in __getattr__
return self.__storage__[self.__ident_func__()][name]
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
RecursionError: maximum recursion depth exceeded while calling a Python object
Hi Matija, we have the same problem, did you find a solution for this ?
I will leave this open - maybe someone has some other solution