Skip to Content
Menu
This question has been flagged
11304 Views

We are using a non-modified version of Odoo from Bitnami.

The system has been working fine for about a month but recently it just started giving the above message when clicking on 'create invoice'.

I tried to recover a backup from before things broke and recreated the new records but apparently it broke again by itself.

How do I find out what broke and what is the missing record?

Any logs I should be watching to get more information?

What scheduled process could be breaking things?





Avatar
Discard

Please post your Odoo log entries.

Author

Well, that was actually what I was asking, since I don't see anything on the server logs either on odoo, postgres or apache.

Author

Found this on the browser console, which is an unexpected place for me...

Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 638, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 675, in dispatch\n result = self._call_function(**self.params)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 331, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 324, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 933, in __call__\n return self.method(*args, **kw)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/http.py\", line 504, in response_wrap\n response = f(*args, **kw)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/web/controllers/main.py\", line 885, in call_kw\n return self._call_kw(model, method, args, kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/web/controllers/main.py\", line 877, in _call_kw\n return call_kw(request.env[model], method, args, kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/api.py\", line 679, in call_kw\n return call_kw_model(method, model, args, kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/api.py\", line 664, in call_kw_model\n result = method(recs, *args, **kwargs)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/models.py\", line 1122, in default_get\n defaults[name] = field.default(self)\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/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 \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/fields.py\", line 873, in __get__\n value = record._cache[self]\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/models.py\", line 5562, in __getitem__\n return value.get() if isinstance(value, SpecialValue) else value\n File \"/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/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]}}

Suppose I need to open a new question?

Author

Found the reason for this, which I believe may be a bug in Odoo:

- At some point, not sure why a 'product' called 'down payment' was automatically created in the products list

- I deleted that product since I didn't see any use for it

- That broke the system, if I recover my backup and only 'archive' the product all remains working fine.

I had a same issue, you can define a deposit product to solve the problem:

sale -> setting -> Products -> Deposit Product

Related Posts Replies Views Activity
2
Nov 24
1852
0
Nov 24
135
2
Oct 24
338
2
Aug 24
361
3
Jul 24
6440