Hi
I am using Odoo 11 Community and until today everything was working also on this issue. Registering a payment for customers or vendors was always working. But today I suddenly started receiving an error message which I have no idea how to interprete. Perhaps someone can take a look at it and tell me what's going wrong and perhaps even know how to fix it.
The error message is as follows:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 647, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 689, in dispatch
result = self._call_function(**self.params)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 933, in __call__
return self.method(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/web/controllers/main.py", line 934, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/web/controllers/main.py", line 922, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 523, in action_validate_invoice_payment
return self.post()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 498, in post
move = rec._create_payment_entry(amount)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_payment.py", line 592, in _create_payment_entry
self.invoice_ids.register_payment(counterpart_aml)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 904, in register_payment
return (line_to_reconcile + payment_line).reconcile(writeoff_acc_id, writeoff_journal_id)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 1020, in reconcile
remaining_moves = self.auto_reconcile_lines()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 990, in auto_reconcile_lines
return self.auto_reconcile_lines()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 986, in auto_reconcile_lines
'currency_id': currency,
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_move.py", line 1819, in create
res = super(AccountPartialReconcile, self).create(vals)
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 3278, in create
record = self.browse(self._create(old_vals))
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 3435, in _create
self.recompute()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 4811, in recompute
target._write(dict(vals))
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 479, in _write
(reconciled & pre_reconciled).filtered(lambda invoice: invoice.state == 'open').action_invoice_paid()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/sale/models/account_invoice.py", line 45, in action_invoice_paid
res = super(AccountInvoice, self).action_invoice_paid()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/account/models/account_invoice.py", line 787, in action_invoice_paid
return to_pay_invoices.write({'state': 'paid'})
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/addons/purchase/models/account_invoice.py", line 219, in write
result = result and super(AccountInvoice, invoice).write(vals)
File "/opt/bitnami/apps/odoo/data/addons/11.0/customer_account_followup/account_invoice.py", line 16, in write
receivable_line.blocked = True
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/fields.py", line 955, in __set__
record.ensure_one()
File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180218-py3.6.egg/odoo/models.py", line 4267, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: account.move.line(918, 917)
Any help would be greatly appreciated.
Have you installed any custom module today ? or made any changes in the odoo core code today.If you have installed any custom code, uninstall those and try the same(you can get a duplicate db and check the above)