2024-06-26 15:19:32
|
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>
|