Hello,
Here are the main points to give a clear explanation of the problem encountered:
Context
We are using a non-modified version of Odoo 10, hosted on our server. All seems to work fine.
We have setup the Stripe paiement process for the shop and imported a large amount of products.
Goal
After a successful paiement by a customer, I am trying to create an invoice using the "Create an invoice button".
Error
After pressing the "create invoice" button, we get a popup with :
"Missing record. Record does not exist or has been deleted."
Logs
There is no log on the server side, however I can find this information in the browser.
web.assets_common.js:3023 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 640, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 677, in dispatch\n result = self._call_function(**self.params)\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 935, in __call__\n return self.method(*args, **kw)\n File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py\", line 885, in call_kw\n return self._call_kw(model, method, args, kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py\", line 877, in _call_kw\n return call_kw(request.env[model], method, args, kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/api.py\", line 679, in call_kw\n return call_kw_model(method, model, args, kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/api.py\", line 664, in call_kw_model\n result = method(recs, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 1122, in default_get\n defaults[name] = field.default(self)\n File \"/usr/lib/python2.7/dist-packages/odoo/addons/sale/wizard/sale_make_invoice_advance.py\", line 39, in _default_deposit_taxes_id\n return self._default_product_id().taxes_id\n File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 873, in __get__\n value = record._cache[self]\n File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 5563, in __getitem__\n return value.get() if isinstance(value, SpecialValue) else value\n File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 48, in get\n raise self.exception\nMissingError: (u'Record does not exist or has been deleted.', None)\n","exception_type":"missing_error","message":"Record does not exist or has been deleted.\nNone","name":"odoo.exceptions.MissingError","arguments":["Record does not exist or has been deleted.",null]}} |
Help found
I have found this post that does explain the same issue, and that has been resolved.
However, the situation does not seem to apply, since we have not seen the "down paiement" product nor deleted it.
Also, the post does not explain how the problem was found.
So we're stuck :-/
Great thanks for your possible help.