Skip to Content
Menu
This question has been flagged

when i make inventory revaluation i face error " i use " FIFO - Real Price " - Odoo V10 


This is the Massage :- 


Traceback (most recent call last):
  File "/opt/odoo10/odoo/http.py", line 642, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo10/odoo/http.py", line 684, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo10/odoo/http.py", line 334, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo10/odoo/service/model.py", line 101, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo10/odoo/http.py", line 327, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo10/odoo/http.py", line 942, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo10/odoo/http.py", line 507, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo10/addons/web/controllers/main.py", line 899, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/odoo10/addons/web/controllers/main.py", line 887, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo10/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/opt/odoo10/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/odoo10/projects/prifix_beta/modules/stock_inventory_revaluation/models/stock_inventory_revaluation.py", line 395, in button_post
    self.post()
  File "/opt/odoo10/projects/prifix_beta/modules/stock_inventory_revaluation/models/stock_inventory_revaluation.py", line 356, in post
    revaluation.sudo()._create_accounting_entry()
  File "/opt/odoo10/projects/prifix_beta/modules/stock_inventory_revaluation/models/stock_inventory_revaluation.py", line 275, in _create_accounting_entry
    if self.reval_quant_ids.product_id == self.product_id:
  File "/opt/odoo10/odoo/fields.py", line 921, in __get__
    record.ensure_one()
  File "/opt/odoo10/odoo/models.py", line 4859, in ensure_one
    raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: stock.inventory.revaluation.quant(604, 605, 606, 607, 608)

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
2064
0
Jan 17
2047
0
Mar 15
2906
4
Jun 24
7195
1
Jan 22
1976