Skip to Content
Menu
This question has been flagged
1 Reply
2628 Views

Hello i got this error always when try to add an account.move.line on invoice: here is detail error

Server application error

 Error code: 200 

 Error message: Odoo Server Error 

 Error data message:

 account.move(<NewId 0x7f11074489b0>,).iss_invoice

None 

 Error data debug:

 Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/api.py", line 753, in get

    value = self._data[field][record._ids[0]]

KeyError: <NewId 0x7f11074489b0>


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/fields.py", line 991, in __get__

    value = env.cache.get(record, self)

  File "/odoo/odoo-server/odoo/api.py", line 759, in get

    raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: ('account.move(<NewId 0x7f11074489b0>,).iss_invoice', None)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/api.py", line 753, in get

    value = self._data[field][record._ids[0]]

KeyError: <NewId 0x7f11074489b0>


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/http.py", line 619, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/odoo/odoo-server/odoo/http.py", line 309, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/odoo/odoo-server/odoo/tools/pycompat.py", line 14, in reraise

    raise value

  File "/odoo/odoo-server/odoo/http.py", line 664, in dispatch

    result = self._call_function(**self.params)

  File "/odoo/odoo-server/odoo/http.py", line 345, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/odoo/odoo-server/odoo/service/model.py", line 93, in wrapper

    return f(dbname, *args, **kwargs)

  File "/odoo/odoo-server/odoo/http.py", line 338, in checked_call

    result = self.endpoint(*a, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 910, in __call__

    return self.method(*args, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 510, in response_wrap

    response = f(*args, **kw)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1320, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1312, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/odoo/odoo-server/odoo/api.py", line 396, in call_kw

    model.flush()

  File "/odoo/odoo-server/odoo/models.py", line 5367, in flush

    self.recompute()

  File "/odoo/odoo-server/odoo/models.py", line 5769, in recompute

    process(next(iter(fields_to_compute)))

  File "/odoo/odoo-server/odoo/models.py", line 5752, in process

    recs.mapped(field.name)

  File "/odoo/odoo-server/odoo/models.py", line 5184, in mapped

    recs = recs._mapped_func(operator.itemgetter(name))

  File "/odoo/odoo-server/odoo/models.py", line 5143, in _mapped_func

    vals = [func(rec) for rec in self]

  File "/odoo/odoo-server/odoo/models.py", line 5143, in <listcomp>

    vals = [func(rec) for rec in self]

  File "/odoo/odoo-server/odoo/models.py", line 5588, in __getitem__

    return self._fields[key].__get__(self, type(self))

  File "/odoo/odoo-server/odoo/fields.py", line 1018, in __get__

    value = env.cache.get(record, self)

  File "/odoo/odoo-server/odoo/api.py", line 759, in get

    raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: ('account.move(<NewId 0x7f11074489b0>,).iss_invoice', None)

Avatar
Discard
Author Best Answer

Yes, i saw that i check everything that is on the internet and in the forum, but still cant figured out where is the problem, i have copy of this odoo on diferent virtual machine, same modules, same everything and there is working, no code modification on account module ... 


Avatar
Discard
Author

Problem was solved it was from "Sale Delivery and Invoice Status in Odoo" Module