2024-10-23 14:48:12
|
WARNING
|
server
|
odoo.modules.loading:92
Module website_sale 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 537, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 437, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5446, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5350, in _load_records_create
records = self.create(vals_list)
File "<decorator-gen-715>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website_sale/models/sale_order.py", line 164, in create
return super().create(vals_list)
File "<decorator-gen-664>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 930, in create
return super().create(vals_list)
File "<decorator-gen-139>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 267, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-31>", line 2, in create
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 480, in _model_create_multi
return create(self, arg)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4902, in create
new_vals_list = self._prepare_create_values(vals_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5059, in _prepare_create_values
self._add_precomputed_values(result_vals_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5096, in _add_precomputed_values
vals[fname] = field.convert_to_write(record[fname], self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6978, in __getitem__
return self._fields[key].__get__(self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3002, in __get__
return super().__get__(records, owner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1287, in __get__
self.compute_value(recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1469, in compute_value
records._compute_field_value(self)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1995, in _compute_field_value
return super()._compute_field_value(field)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 427, in _compute_field_value
return super()._compute_field_value(field)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5217, in _compute_field_value
fields.determine(field.compute, self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 109, in determine
return needle(*args)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 418, in _compute_fiscal_position_id
)._get_fiscal_position(order.partner_id, order.partner_shipping_id).id
File "/data/build/ingadhoc-odoo-argentina/l10n_ar_ux/__init__.py", line 23, in _get_fiscal_position
return super(AccountFiscalPosition, self)._get_fiscal_position(partner, delivery=delivery)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/partner.py", line 296, in _get_fiscal_position
all_auto_apply_fpos = self.search(self._check_company_domain(self.env.company) + [('auto_apply', '=', True)])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1717, in search
return self.search_fetch(domain, [], offset=offset, limit=limit, order=order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1741, in search_fetch
query = self._search(domain, offset=offset, limit=limit, order=order or self._order)
File "/data/build/ingadhoc-odoo-argentina/l10n_ar_ux/models/account_fiscal_position.py", line 13, in _search
return super()._search(domain, offset=offset, limit=limit, order=order, access_rights_uid=access_rights_uid)
TypeError: BaseModel._search() got an unexpected keyword argument 'access_rights_uid'
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 88, 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 70, 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 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 594, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 550, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/adhoc-cicd-odoo-odoo/addons/website_sale/data/demo.xml:537, somewhere inside
<record id="website_sale_order_1" model="sale.order">
<field name="create_date" eval="datetime.now() - timedelta(days=8)"/>
<field name="partner_id" ref="base.res_partner_3"/>
<field name="partner_invoice_id" ref="base.res_partner_address_25"/>
<field name="partner_shipping_id" ref="base.res_partner_address_25"/>
<field name="user_id" ref="base.user_demo"/>
<field name="team_id" ref="sales_team.salesteam_website_sales"/>
<field name="date_order" eval="(datetime.now()-relativedelta(days=7)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="state">sale</field>
</record>
|
2024-10-23 14:48:19
|
CRITICAL
|
server
|
odoo.service.server:1343
Failed to initialize database `84967-18-0-all`.
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/server.py", line 1305, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-13>", line 2, in new
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 131, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 479, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 363, in load_marked_modules
loaded, processed = load_module_graph(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 226, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 70, 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 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 594, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 548, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
odoo.tools.convert.ParseError: while parsing None:65
Error while parsing or validating view:
Element '<xpath expr="//input[@name='vat']/..">' cannot be located in parent view
View error context:
{'file': '/data/build/adhoc-cicd-odoo-odoo/addons/l10n_ar_website_sale/views/templates.xml',
'line': 1,
'name': 'portal_my_details_fields',
'view': ir.ui.view(3295,),
'view.model': False,
'view.parent': ir.ui.view(620,),
'xmlid': 'portal_my_details_fields'}
|