2024-06-24 18:33:39
|
WARNING
|
server
|
odoo.modules.loading:93
Module website_sale_renting_product_configurator demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 556, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 456, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5046, in _load_records
data['record']._load_records_write(data['values'])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4977, in _load_records_write
self.write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_timesheet/models/product.py", line 178, in write
return super(ProductProduct, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_project/models/product.py", line 219, in write
return super(ProductProduct, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/stock_account/models/product.py", line 116, in write
return super(ProductProduct, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mrp/models/product.py", line 176, in write
return super().write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/stock/models/product.py", line 574, in write
return super().write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/loyalty/models/product_product.py", line 19, in write
return super().write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_product.py", line 369, in write
res = super(ProductProduct, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 317, in write
result = super(MailThread, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_activity_mixin.py", line 248, in write
return super(MailActivityMixin, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4438, in write
fields[0].determine_inverse(real_recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1398, in determine_inverse
determine(self.inverse, records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 105, in determine
return needle(records, *args)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 722, in _inverse_related
target[field.name] = record_value[record]
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6640, in __setitem__
return self._fields[key].__set__(self, value)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1322, in __set__
records.write({self.name: write_value})
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_timesheet/models/product.py", line 128, in write
return super(ProductTemplate, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_project/models/product.py", line 184, in write
return super(ProductTemplate, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website_sale/models/product_template.py", line 176, in write
return super().write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/rating/models/rating_mixin.py", line 100, in write
result = super(RatingMixin, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/stock_account/models/product.py", line 55, in write
res = super(ProductTemplate, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mrp/models/product.py", line 73, in write
return super().write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/stock/models/product.py", line 899, in write
return super(ProductTemplate, self).write(vals)
File "/data/build/adhoc-cicd-oca-product-pack/product_pack/models/product_template.py", line 109, in write
return super().write(_vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/product/models/product_template.py", line 509, in write
res = super(ProductTemplate, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 317, in write
result = super(MailThread, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_activity_mixin.py", line 248, in write
return super(MailActivityMixin, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/mixins.py", line 218, in write
return super(WebsitePublishedMixin, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4428, in write
real_recs._validate_fields(vals, inverse_fields)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1456, in _validate_fields
check(self)
File "/data/build/adhoc-cicd-odoo-enterprise/website_sale_subscription/models/product_template.py", line 17, in _constraints_optional_product_ids
if self.env['sale.subscription.pricing'].sudo()._get_first_suitable_recurring_pricing(template).plan_id != \
File "/data/build/ingadhoc-enterprise-extensions/sale_subscription_ux/models/sale_subscription_pricing.py", line 16, in _get_first_suitable_recurring_pricing
if not pricelist.use_time_based_rules:
AttributeError: 'NoneType' object has no attribute 'use_time_based_rules'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 89, in load_demo
load_data(env(su=True), idref, mode, kind='demo', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 627, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 693, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 613, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 569, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/adhoc-cicd-odoo-enterprise/website_sale_renting_product_configurator/data/demo.xml:4, somewhere inside
<record id="sale_renting.rental_product_2" model="product.product">
<field name="optional_product_ids" eval="[(6, 0, [ref('sale_renting.rental_product_1_product_template')])]"/>
</record>
|
2024-06-25 14:32:59
|
ERROR
|
server
|
odoo.http:2211
Exception during request handling.
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 2189, in __call__
response = request._serve_db()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/http.py", line 1743, in _serve_db
self.registry = Registry(self.db).check_signaling()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 841, in check_signaling
with closing(self.cursor()) as cr:
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 950, in cursor
return self._db.cursor()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 752, in cursor
return Cursor(self.__pool, self.__dbname, self.__dsn)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 267, in __init__
self._cnx = pool.borrow(dsn)
File "<decorator-gen-13>", line 2, in borrow
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 655, in borrow
cnx.reset()
psycopg2.DatabaseError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
|
2024-06-25 14:33:27
|
ERROR
|
server
|
odoo.sql_db:335
bad query:
WITH visitor AS (
INSERT INTO website_visitor (
partner_id, access_token, last_connection_datetime, visit_count, lang_id,
website_id, timezone, write_uid, create_uid, write_date, create_date, country_id)
VALUES (
NULL, 'b357446f554ecefd1cf9db23845bd8da', now() at time zone 'UTC', 1, 68,
1, NULL, 4, 4,
now() at time zone 'UTC', now() at time zone 'UTC', (
SELECT id FROM res_country WHERE code = NULL
)
)
ON CONFLICT (access_token)
DO UPDATE SET
last_connection_datetime=excluded.last_connection_datetime,
visit_count = CASE WHEN website_visitor.last_connection_datetime < NOW() AT TIME ZONE 'UTC' - INTERVAL '8 hours'
THEN website_visitor.visit_count + 1
ELSE website_visitor.visit_count
END
RETURNING id, CASE WHEN create_date = now() at time zone 'UTC' THEN 'inserted' ELSE 'updated' END AS upsert
, 'https://58253-17-0-all.runbot.adhoc.com.ar/' AS url, 4 AS page_id
), track AS (
INSERT INTO website_track (visitor_id, url, page_id, visit_datetime)
SELECT id, url, page_id::integer, now() at time zone 'UTC' FROM visitor
)
SELECT id, upsert from visitor;
ERROR: could not serialize access due to concurrent update
|