2024-11-07 16:39:47
|
WARNING
|
server
|
odoo.modules.loading:92
Module helpdesk_sale_timesheet 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 5428, in _load_records
data['record']._load_records_write(data['values'])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5346, in _load_records_write
self.write(values)
File "/data/build/adhoc-cicd-odoo-enterprise/helpdesk_sale_timesheet/models/helpdesk_team.py", line 20, in write
projects.write({'allow_billable': True, 'timesheet_product_id': projects._default_timesheet_product_id()})
File "/data/build/ingadhoc-sale/sale_timesheet_ux/models/project_project.py", line 13, in write
res = super().write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_timesheet/models/project_project.py", line 200, in write
res = super().write(values)
File "/data/build/adhoc-cicd-odoo-enterprise/timesheet_grid/models/project.py", line 26, in write
result = super(Project, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/hr_timesheet/models/project_project.py", line 172, in write
return super(Project, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/project_sms/models/project_project.py", line 25, in write
res = super().write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/project/models/project_project.py", line 538, in write
res = super(Project, self).write(vals) if vals else True
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_alias_mixin_optional.py", line 124, in write
super().write(record_vals)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 330, in write
result = super(MailThread, self).write(values)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_activity_mixin.py", line 242, in write
return super(MailActivityMixin, self).write(vals)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4748, in write
self.modified(vals)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 7112, in modified
for field, records, create in itertools.chain.from_iterable(todo):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 7221, in _modified_triggers
yield from records._modified_triggers(subtree)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 7200, in _modified_triggers
records = self[invf.name]
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6983, in __getitem__
return self._fields[key].__get__(self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3026, in __get__
return self.mapped(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1350, in mapped
self.recompute(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/odoo/models.py", line 5222, 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-enterprise/helpdesk_sale_timesheet/models/account_analytic_line.py", line 33, in _compute_so_line
timesheet.so_line = timesheet.project_id.allow_billable and timesheet.helpdesk_ticket_id.sale_line_id
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3024, in __get__
return super().__get__(records, owner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1232, in __get__
self.recompute(record)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/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 5222, 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-enterprise/helpdesk_sale_timesheet/models/helpdesk_ticket.py", line 82, in _compute_sale_line_id
if ticket.project_id and ticket.project_id.pricing_type != 'task_rate':
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/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 5222, 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_timesheet/models/project_project.py", line 81, in _compute_pricing_type
elif project.sale_line_id:
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3024, in __get__
return super().__get__(records, owner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1232, in __get__
self.recompute(record)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/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 5222, 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_timesheet/models/project_project.py", line 170, in _compute_sale_line_id
for project in self.filtered(lambda p: not p.sale_line_id and p.partner_id and p.pricing_type == 'employee_rate'):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6456, in filtered
return self.browse(rec.id for rec in self if func(rec))
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6164, in browse
ids = tuple(ids)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6456, in <genexpr>
return self.browse(rec.id for rec in self if func(rec))
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_timesheet/models/project_project.py", line 170, in <lambda>
for project in self.filtered(lambda p: not p.sale_line_id and p.partner_id and p.pricing_type == 'employee_rate'):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3024, in __get__
return super().__get__(records, owner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1232, in __get__
self.recompute(record)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/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 5222, 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/ingadhoc-sale/sale_timesheet_ux/models/project_project.py", line 23, in _compute_partner_id
project_partner_id = project.partner_id or project.analytic_account_id.partner_id or project.sale_order_id.partner_id
AttributeError: 'project.project' object has no attribute 'analytic_account_id'
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 pars
...<message too long, truncated>
|
2024-11-07 16:39:47
|
CRITICAL
|
server
|
odoo.service.server:1343
Failed to initialize database `89858-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 235, in load_module_graph
module._update_translations(overwrite=overwrite)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_module.py", line 868, in _update_translations
self.env['ir.module.module']._load_module_terms(mod_names, filter_lang, overwrite)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_module_module.py", line 486, in _load_module_terms
res = super()._load_module_terms(modules, langs, overwrite=overwrite, imported_module=imported_module)
File "/data/build/adhoc-cicd-odoo-odoo/addons/account/models/ir_module.py", line 76, in _load_module_terms
super()._load_module_terms(modules, langs, overwrite=overwrite, imported_module=imported_module)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_module.py", line 970, in _load_module_terms
translation_importer.save(overwrite=overwrite)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/translate.py", line 1533, in save
env.flush_all()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 831, in flush_all
self._recompute_all()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 827, in _recompute_all
self[field.model_name]._recompute_field(field)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 7263, in _recompute_field
field.recompute(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/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 5222, 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/project/models/project_project.py", line 239, in _compute_company_id
if not project.company_id and project.partner_id.company_id:
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 3024, in __get__
return super().__get__(records, owner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1232, in __get__
self.recompute(record)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
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/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 5222, 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/ingadhoc-sale/sale_timesheet_ux/models/project_project.py", line 23, in _compute_partner_id
project_partner_id = project.partner_id or project.analytic_account_id.partner_id or project.sale_order_id.partner_id
AttributeError: 'project.project' object has no attribute 'analytic_account_id'
|