500: Internal Server Error
QWeb
Mensaje de error:
Error to render compiling AST UndefinedColumn: column product_product.google_shop_product_categ does not exist LINE 1: ...be_zoomed" as "can_image_variant_1024_be_zoomed", "product_p... ^ Template: website_sale.product Path: /t/t[1] Node: <t t-set="combination" t-value="product._get_first_possible_combination()"/>
Error ocurrido durante la creación de la plantilla website_sale.product
y evalua la siguiente expresión: <t t-set="combination" t-value="product._get_first_possible_combination()"/>
Traza
Traceback (most recent call last): File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/opt/odoo/14.0/odoo/odoo/http.py", line 813, in dispatch r = self._call_function(**self.params) File "/opt/odoo/14.0/odoo/odoo/http.py", line 370, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/14.0/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/14.0/odoo/odoo/http.py", line 361, in checked_call result.flatten() File "/opt/odoo/14.0/odoo/odoo/http.py", line 1239, in flatten self.response.append(self.render()) File "/opt/odoo/14.0/odoo/odoo/http.py", line 1232, in render return env["ir.ui.view"]._render_template(self.template, self.qcontext) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 1725, in _render_template return self.browse(self.get_view_id(template))._render(values, engine) File "/opt/odoo/14.0/odoo/addons/website/models/ir_ui_view.py", line 423, in _render return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/14.0/odoo/addons/web_editor/models/ir_ui_view.py", line 28, in _render return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 1733, in _render return self.env[engine]._render(self.id, qcontext) File "/opt/odoo/14.0/enterprise/addons/web_studio/models/ir_qweb.py", line 44, in _render return super(IrQWeb, self)._render(template, values=values, **options) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_qweb.py", line 55, in _render result = super(IrQWeb, self)._render(id_or_xml_id, values=values, **context) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/qweb.py", line 254, in _render self.compile(template, options)(self, body.append, values or {}) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/opt/odoo/14.0/odoo/odoo/http.py", line 813, in dispatch r = self._call_function(**self.params) File "/opt/odoo/14.0/odoo/odoo/http.py", line 370, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/14.0/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/14.0/odoo/odoo/http.py", line 361, in checked_call result.flatten() File "/opt/odoo/14.0/odoo/odoo/http.py", line 1239, in flatten self.response.append(self.render()) File "/opt/odoo/14.0/odoo/odoo/http.py", line 1232, in render return env["ir.ui.view"]._render_template(self.template, self.qcontext) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 1725, in _render_template return self.browse(self.get_view_id(template))._render(values, engine) File "/opt/odoo/14.0/odoo/addons/website/models/ir_ui_view.py", line 423, in _render return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/14.0/odoo/addons/web_editor/models/ir_ui_view.py", line 28, in _render return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 1733, in _render return self.env[engine]._render(self.id, qcontext) File "/opt/odoo/14.0/enterprise/addons/web_studio/models/ir_qweb.py", line 44, in _render return super(IrQWeb, self)._render(template, values=values, **options) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_qweb.py", line 55, in _render result = super(IrQWeb, self)._render(id_or_xml_id, values=values, **context) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/qweb.py", line 254, in _render self.compile(template, options)(self, body.append, values or {}) File "/opt/odoo/14.0/odoo/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name) odoo.addons.base.models.qweb.QWebException: column product_product.google_shop_product_categ does not exist LINE 1: ...be_zoomed" as "can_image_variant_1024_be_zoomed", "product_p... ^ Traceback (most recent call last): File "/opt/odoo/14.0/odoo/odoo/api.py", line 799, in get return field_cache[record._ids[0]] KeyError: 3193 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/14.0/odoo/odoo/fields.py", line 993, in __get__ value = env.cache.get(record, self) File "/opt/odoo/14.0/odoo/odoo/api.py", line 802, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: 'product.product(3193,).active' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/14.0/odoo/odoo/addons/base/models/qweb.py", line 327, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_website_sale_product_90 File "/opt/odoo/14.0/odoo/addons/product/models/product_template.py", line 1040, in _get_first_possible_combination return next(self._get_possible_combinations(parent_combination, necessary_values), self.env['product.template.attribute.value']) File "/opt/odoo/14.0/odoo/addons/product/models/product_template.py", line 1168, in _get_possible_combinations if self._is_combination_possible(combination, parent_combination): File "/opt/odoo/14.0/odoo/addons/product/models/product_template.py", line 914, in _is_combination_possible if not variant or not variant.active: File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1019, in __get__ recs._fetch_field(self) File "/opt/odoo/14.0/odoo/odoo/models.py", line 3078, in _fetch_field self._read(fnames) File "/opt/odoo/14.0/odoo/odoo/models.py", line 3145, in _read cr.execute(query_str, params + [sub_ids]) File "<decorator-gen-5>", line 2, in execute File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 101, in check return f(self, *args, **kwargs) File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 301, in execute res = self._obj.execute(query, params) psycopg2.errors.UndefinedColumn: column product_product.google_shop_product_categ does not exist LINE 1: ...be_zoomed" as "can_image_variant_1024_be_zoomed", "product_p... ^ Error to render compiling AST UndefinedColumn: column product_product.google_shop_product_categ does not exist LINE 1: ...be_zoomed" as "can_image_variant_1024_be_zoomed", "product_p... ^ Template: website_sale.product Path: /t/t[1] Node: <t t-set="combination" t-value="product._get_first_possible_combination()"/>