Created
September 30, 2015 16:10
-
-
Save alcidesrivera/a1e95366a301c6f99889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR xxx openerp.sql_db: Programming error: can't adapt type 'account.account', in query INSERT INTO "account_invoice_line" ("id",$ | |
ERROR xxx openerp.http: Exception during JSON request handling. | |
Traceback (most recent call last): | |
File "/home/openerp/apps/odoo/openerp/http.py", line 537, in _handle_exception | |
return super(JsonRequest, self)._handle_exception(exception) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 574, in dispatch | |
result = self._call_function(**self.params) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 310, in _call_function | |
return checked_call(self.db, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/service/model.py", line 113, in wrapper | |
return f(dbname, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 307, in checked_call | |
return self.endpoint(*a, **kw) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 803, in __call__ | |
return self.method(*args, **kw) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 403, in response_wrap | |
response = f(*args, **kw) | |
File "/home/openerp/apps/odoo/addons/web/controllers/main.py", line 948, in call_button | |
action = self._call_kw(model, method, args, {}) | |
File "/home/openerp/apps/odoo/addons/web/controllers/main.py", line 936, in _call_kw | |
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/addons/point_of_sale/point_of_sale.py", line 1027, in action_invoice | |
inv_line_ref.create(cr, uid, inv_line, context=context) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 336, in old_api | |
result = method(recs, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/models.py", line 4077, in create | |
record = self.browse(self._create(old_vals)) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 239, in wrapper | |
return new_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 463, in new_api | |
result = method(self._model, cr, uid, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/models.py", line 4215, in _create | |
tuple([u[2] for u in updates if len(u) > 2]) | |
File "/home/openerp/apps/odoo/openerp/sql_db.py", line 158, in wrapper | |
return f(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/sql_db.py", line 234, in execute | |
res = self._obj.execute(query, params) | |
ProgrammingError: can't adapt type 'account.account' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment