2023-12-12 13:57:02
|
WARNING
|
server
|
odoo.modules.loading:93
Module demo_base 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 698, in _tag_root
f(rec)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 333, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 204, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 462, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 435, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/data/build/ingadhoc-ingadhoc-demo/demo_base/demo_py/sale_order.py", line 33, in _init_demo_base
new_sale.action_confirm()
File "/data/build/adhoc-cicd-odoo-enterprise/helpdesk_sale_timesheet/models/sale_order.py", line 27, in action_confirm
res = super().action_confirm()
File "/data/build/ingadhoc-sale/sale_order_type_automation/models/sale_order.py", line 114, in action_confirm
res = super().action_confirm()
File "/data/build/ingadhoc-sale/sale_order_validity/models/sale_order.py", line 66, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-enterprise/sale_subscription/models/sale_order.py", line 632, in action_confirm
res = res and super(SaleOrder, subs_current_stage).action_confirm()
File "/data/build/ingadhoc-sale/sale_require_purchase_order_number/models/sale_order.py", line 36, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/event_sale/models/sale_order.py", line 22, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/website_sale/models/sale_order.py", line 420, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_management/models/sale_order.py", line 121, in action_confirm
res = super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_loyalty/models/sale_order.py", line 74, in action_confirm
res = super().action_confirm()
File "/data/build/adhoc-cicd-oca-sale-workflow/sale_exception/models/sale_order.py", line 53, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_crm/models/sale_order.py", line 15, in action_confirm
return super(SaleOrder, self.with_context({k:v for k,v in self._context.items() if k != 'default_tag_ids'})).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 815, in action_confirm
self.write(self._prepare_confirmation_values())
File "/data/build/ingadhoc-sale/sale_stock_ux/models/sale_order.py", line 60, in write
return super().write(vals)
File "/data/build/ingadhoc-argentina-sale/l10n_ar_sale_order_type/models/sale_order.py", line 36, in write
return super().write(vals)
File "/data/build/adhoc-cicd-odoo-enterprise/sale_subscription/models/sale_order.py", line 543, in write
subscriptions_to_confirm.action_confirm()
File "/data/build/adhoc-cicd-odoo-enterprise/helpdesk_sale_timesheet/models/sale_order.py", line 27, in action_confirm
res = super().action_confirm()
File "/data/build/ingadhoc-sale/sale_order_type_automation/models/sale_order.py", line 114, in action_confirm
res = super().action_confirm()
File "/data/build/ingadhoc-sale/sale_order_validity/models/sale_order.py", line 66, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-enterprise/sale_subscription/models/sale_order.py", line 632, in action_confirm
res = res and super(SaleOrder, subs_current_stage).action_confirm()
File "/data/build/ingadhoc-sale/sale_require_purchase_order_number/models/sale_order.py", line 36, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/event_sale/models/sale_order.py", line 22, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/website_sale/models/sale_order.py", line 420, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_management/models/sale_order.py", line 121, in action_confirm
res = super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_loyalty/models/sale_order.py", line 74, in action_confirm
res = super().action_confirm()
File "/data/build/adhoc-cicd-oca-sale-workflow/sale_exception/models/sale_order.py", line 53, in action_confirm
return super().action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_crm/models/sale_order.py", line 15, in action_confirm
return super(SaleOrder, self.with_context({k:v for k,v in self._context.items() if k != 'default_tag_ids'})).action_confirm()
File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 802, in action_confirm
raise UserError(_(
odoo.exceptions.UserError: It is not allowed to confirm an order in the following states: sale, done, cancel
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(cr, 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(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/ingadhoc-ingadhoc-demo/demo_base/demo/init_demo_py.xml:9, somewhere inside
<function model="sale.order" name="_init_demo_base"/>
|