Skip to Content
Menu
This question has been flagged

I can not sign into an account after validating my cart.
here are the odoo logs.
What can be done to solve this problem?
An update could solve the problem?

ile "/usr/lib/python3/dist-packages/odoo/models.py", line 1561, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4122, in _search
self._cr.execute(query_str, where_clause_params)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 203, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 835, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in checked_call
result.flatten()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1270, in flatten
self.response.append(self.render())
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1263, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1284, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_ui_view.py", line 319, in render
return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 27, in render
return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1293, in render
return self.env[engine].render(self.id, qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 59, in render
result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 274, in render
self.compile(template, options)(self, body.append, values or {})
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 346, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_173_24617
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 346, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_web_login_layout_24622
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 351, in _compiled_fn
element, document = self.get_template(template, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 376, in get_template
raise QWebException("load could not load template", name=template)
odoo.addons.base.models.qweb.QWebException: None
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 346, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_website_layout_24330
File "<template>", line 2, in body_call_content_24329
File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/website.py", line 289, in sale_get_order
sale_order.write({'partner_id': partner.id})
File "/usr/lib/python3/dist-packages/odoo/addons/sale_stock/models/sale_order.py", line 64, in write
res = super(SaleOrder, self).write(values)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_activity.py", line 579, in write
return super(MailActivityMixin, self).write(vals)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3321, in write
self._write(store_vals)
File "/usr/lib/python3/dist-packages/odoo/addons/sale/models/sale.py", line 420, in _write
return super(SaleOrder, self)._write(values)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3414, in _write
cr.execute(query, params + [sub_ids])
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.IntegrityError: null value in column "partner_id" violates not-null constraint
DETAIL: Failing row contains (625, null, null, SO625, null, null, null, draft, 2019-07-17 09:43:00, 2019-08-16, t, t, 2019-07-17 09:43:00.397585, null, 2, null, 4, 4, 1, null, no, , 7.50, 1.50, 9.00, 1.000000, 1, null, 1, 35, null, null, 1, 1, 2019-07-17 09:47:15.993896, 1, null, null, null, null, f, 1, 7.50, null, null, direct, 1, null, null, null, null, null, null, f, f, 0.00, f).


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 88, in lookup
r = d[key]
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.ui.view', <function View.get_view_id at 0x7fafa7afde18>, 1, 'website.layout', (1,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 372, in get_template
document = options.get('load', self.load)(template, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 122, in load
template = env['ir.ui.view'].read_template(name)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1174, in read_template
return self._read_template(self.get_view_id(xml_id))
File "<decorator-gen-233>", line 2, in get_view_id
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 93, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_ui_view.py", line 280, in get_view_id
view = self.search(domain, order='website_id', limit=1)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 1561, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4122, in _search
self._cr.execute(query_str, where_clause_params)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block


load could not load template
Template: website.layout

2019-07-17 09:47:16,850 902 INFO HugoProdv4 werkzeug: 127.0.0.1 - - [17/Jul/2019 09:47:16] "GET /web/login?redirect=/shop/checkout HTTP/1.0" 500 - 63 0.491 0.389

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 24
5
1
Aug 18
2277
1
May 24
743
1
Apr 24
582
0
Apr 24
422