2023-12-13 12:23:53
|
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: cancel, sale, done
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"/>
|
2023-12-14 15:27:13
|
ERROR
|
server
|
odoo.sql_db:324
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, '448215de2ccadcb9047691aff70608da', now() at time zone 'UTC', 1, 1,
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://29806-16-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
|