Date |
Level |
Type |
Message |
2025-02-21 20:26:35
|
INFO
|
runbot
|
Init build environment with config Adhoc Conf for demo (y personalizaciones) 17+
|
2025-02-21 20:26:35
|
|
|
Starting step all_no_test from config Adhoc Conf for demo (y personalizaciones) 17+
|
2025-02-21 20:26:35
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-17
|
2025-02-21 20:27:00
|
INFO
|
server
|
odoo.modules.loading:303
1 modules loaded in 11.47s, 9070 queries (+9070 extra)
|
2025-02-21 20:31:50
|
INFO
|
server
|
odoo.addons.l10n_ar_edi.models.res_company:216
Setting demo certificate from to OdooCert2 in (AR) Responsable Inscripto company
|
2025-02-21 20:31:50
|
INFO
|
server
|
odoo.addons.l10n_ar_edi.models.res_company:216
Setting demo certificate from to OdooCert7 in (AR) Monotributista company
|
2025-02-21 20:31:50
|
INFO
|
server
|
odoo.addons.l10n_ar_edi.models.res_company:216
Setting demo certificate from to OdooCert8 in (AR) Exento company
|
2025-02-21 20:32:30
|
INFO
|
server
|
odoo.addons.l10n_ar_currency_update.models.res_company:47
Currency Provider configured as AFIP for next companies: (AR) Exento, (AR) Monotributista, (AR) Responsable Inscripto
|
2025-02-21 20:34:59
|
INFO
|
server
|
odoo.modules.loading:303
292 modules loaded in 467.67s, 242102 queries (+242144 extra)
|
2025-02-21 20:35:05
|
INFO
|
server
|
odoo.modules.loading:303
299 modules loaded in 6.46s, 1678 queries (+1678 extra)
|
2025-02-21 20:35:17
|
|
|
Step all_no_test finished in 9m
|
2025-02-21 20:35:17
|
|
|
Starting step setup from config Adhoc Conf for demo (y personalizaciones) 17+
|
2025-02-21 20:35:17
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-17
|
2025-02-21 20:35:18
|
INFO
|
runbot
|
Step setup finished in 0s
|
2025-02-21 20:35:18
|
|
|
Starting step run from config Adhoc Conf for demo (y personalizaciones) 17+
|
2025-02-21 20:35:18
|
INFO
|
runbot
|
Start running build 127340-17-0
|
2025-02-21 20:35:18
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-17
|
2025-02-21 20:35:21
|
INFO
|
server
|
odoo.modules.loading:303
1 modules loaded in 0.01s, 0 queries (+0 extra)
|
2025-02-21 20:35:26
|
INFO
|
server
|
odoo.modules.loading:303
299 modules loaded in 4.35s, 0 queries (+0 extra)
|
2025-02-21 20:36:41
|
ERROR
|
server
|
odoo.sql_db:335
bad query: CREATE TABLE IF NOT EXISTS account_move_line_in_currency_0 AS
WITH currency_rate AS MATERIALIZED (
SELECT
c.currency_id,
COALESCE(r.company_id, c.company_id) as company_id,
r.rate,
r.name AS date_start,
c.currency_group,
(SELECT name FROM res_currency_rate r2
WHERE r2.name > r.name AND
r2.currency_id = r.currency_id AND
(r2.company_id is null or r2.company_id = c.company_id)
ORDER BY r2.name ASC
LIMIT 1) AS date_end
FROM res_currency_rate r
RIGHT JOIN currency_group_line c ON (r.company_id is null or (r.company_id = c.company_id and r.currency_id = c.currency_id))
where c.currency_group = False
)
select "aml"."id", "aml"."move_id", "aml"."journal_id", "aml"."company_id", "aml"."company_currency_id", "aml"."sequence", "aml"."account_id", "aml"."partner_id", "aml"."reconcile_model_id", "aml"."payment_id", "aml"."statement_line_id", "aml"."statement_id", "aml"."group_tax_id", "aml"."tax_line_id", "aml"."tax_group_id", "aml"."tax_repartition_line_id", "aml"."full_reconcile_id", "aml"."account_root_id", "aml"."product_id", "aml"."product_uom_id", "aml"."create_uid", "aml"."write_uid", "aml"."move_name", "aml"."parent_state", "aml"."ref", "aml"."name", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."invoice_date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."tax_base_amount", "aml"."amount_residual", "aml"."amount_residual_currency", "aml"."quantity", "aml"."price_unit", "aml"."price_subtotal", "aml"."price_total", "aml"."discount", "aml"."discount_amount_currency", "aml"."discount_balance", "aml"."tax_tag_invert", "aml"."reconciled", "aml"."blocked", "aml"."create_date", "aml"."write_date", "aml"."deferred_start_date", "aml"."deferred_end_date", "aml"."purchase_line_id", "aml"."cogs_origin_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."l10n_pe_group_id", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason",
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.balance ELSE aml.balance * cr.rate END as balance,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.credit ELSE aml.credit * cr.rate END as credit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.debit ELSE aml.debit * cr.rate END as debit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id or (aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id) THEN aml.amount_currency ELSE null END as amount_currency,
CASE WHEN aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id THEN aml.currency_id ELSE cr.currency_id END as currency_id,
(case when cr.rate is null or cr.currency_id = c.currency_id then 1.0 else cr.rate end) as aml_rate
from account_move_line aml
left join currency_rate cr on
(cr.currency_id in () and
cr.company_id = aml.company_id and
(cr.date_start <= COALESCE(aml.date, NOW()) or cr.date_start is null) and
(cr.date_end IS NULL OR cr.date_end > COALESCE(aml.date, NOW())))
join res_company as c on c.id=cr.company_id
ERROR: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
|
2025-02-21 20:36:41
|
ERROR
|
server
|
odoo.addons.base.models.ir_cron:406
Call from cron Update AML in currency for server action #783 failed in Job #46
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(783,)", line 1, in <module>
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 22, in cron_recreate_aml_materialized
to_update.action_currency_aml_materialized()
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 46, in action_currency_aml_materialized
self._cr.execute("""CREATE TABLE IF NOT EXISTS %s AS
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 397, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 943, in run
res = runner(run_self, eval_context=eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_actions_server.py", line 61, in _run_action_code_multi
res = super(ServerAction, self)._run_action_code_multi(eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 775, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self)) # nocopy allows to return 'action'
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 413, in safe_eval
raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'psycopg2.errors.SyntaxError'>: "syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
" while evaluating
'model.cron_recreate_aml_materialized()'
|
2025-02-21 22:29:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (24) timeout after 120s
|
2025-02-21 22:31:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (28) timeout after 120s
|
2025-02-21 22:33:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (30) timeout after 120s
|
2025-02-21 22:35:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (32) timeout after 120s
|
2025-02-21 22:37:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (34) timeout after 120s
|
2025-02-21 22:39:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (36) timeout after 120s
|
2025-02-21 22:41:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (38) timeout after 120s
|
2025-02-21 22:43:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (40) timeout after 120s
|
2025-02-21 22:45:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (42) timeout after 120s
|
2025-02-21 22:47:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (44) timeout after 120s
|
2025-02-21 22:49:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (46) timeout after 120s
|
2025-02-21 22:51:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (48) timeout after 120s
|
2025-02-21 22:53:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (50) timeout after 120s
|
2025-02-21 22:55:19
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (52) timeout after 120s
|
2025-02-21 22:57:18
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (54) timeout after 120s
|
2025-02-21 22:59:18
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (56) timeout after 120s
|
2025-02-21 23:01:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (58) timeout after 120s
|
2025-02-21 23:05:43
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (60) timeout after 120s
|
2025-02-21 23:05:43
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (62) timeout after 120s
|
2025-02-21 23:07:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (64) timeout after 120s
|
2025-02-21 23:09:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (66) timeout after 120s
|
2025-02-21 23:11:22
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (68) timeout after 120s
|
2025-02-21 23:13:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (70) timeout after 120s
|
2025-02-21 23:15:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (72) timeout after 120s
|
2025-02-21 23:17:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (74) timeout after 120s
|
2025-02-21 23:19:21
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (76) timeout after 120s
|
2025-02-21 23:21:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (78) timeout after 120s
|
2025-02-21 23:23:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (80) timeout after 120s
|
2025-02-21 23:25:20
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (82) timeout after 120s
|
2025-02-21 23:27:25
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (84) timeout after 120s
|
2025-02-21 23:29:25
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (86) timeout after 120s
|
2025-02-21 23:31:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (88) timeout after 120s
|
2025-02-21 23:33:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (90) timeout after 120s
|
2025-02-21 23:35:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (92) timeout after 120s
|
2025-02-21 23:37:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (94) timeout after 120s
|
2025-02-21 23:39:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (96) timeout after 120s
|
2025-02-21 23:41:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (98) timeout after 120s
|
2025-02-21 23:43:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (100) timeout after 120s
|
2025-02-21 23:45:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (102) timeout after 120s
|
2025-02-21 23:47:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (104) timeout after 120s
|
2025-02-21 23:49:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (106) timeout after 120s
|
2025-02-21 23:51:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (108) timeout after 120s
|
2025-02-21 23:53:22
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (110) timeout after 120s
|
2025-02-21 23:55:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (112) timeout after 120s
|
2025-02-21 23:57:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (114) timeout after 120s
|
2025-02-21 23:59:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (116) timeout after 120s
|
2025-02-22 00:01:24
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (118) timeout after 120s
|
2025-02-22 00:03:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (120) timeout after 120s
|
2025-02-22 00:05:22
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (122) timeout after 120s
|
2025-02-22 00:07:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (124) timeout after 120s
|
2025-02-22 00:09:22
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (126) timeout after 120s
|
2025-02-22 00:11:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (128) timeout after 120s
|
2025-02-22 00:13:22
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (130) timeout after 120s
|
2025-02-22 00:15:27
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (132) timeout after 120s
|
2025-02-22 00:17:27
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (134) timeout after 120s
|
2025-02-22 00:19:27
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (136) timeout after 120s
|
2025-02-22 00:21:27
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (138) timeout after 120s
|
2025-02-22 00:23:23
|
ERROR
|
server
|
odoo.service.server:890
WorkerCron (140) timeout after 120s
|
2025-02-22 05:28:09
|
ERROR
|
server
|
odoo.addons.base.models.ir_cron:406
Call from cron Saas Client Database Backup for server action #257 failed in Job #13
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 397, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 943, in run
res = runner(run_self, eval_context=eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_actions_server.py", line 61, in _run_action_code_multi
res = super(ServerAction, self)._run_action_code_multi(eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 775, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self)) # nocopy allows to return 'action'
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(257,)", line 1, in <module>
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 70, in cron_backup_database
self.backup_database()
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 102, in backup_database
storage_type = self.get_bucket_type()
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 35, in get_bucket_type
raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
|
2025-02-22 20:31:17
|
ERROR
|
server
|
odoo.sql_db:335
bad query: CREATE TABLE IF NOT EXISTS account_move_line_in_currency_0 AS
WITH currency_rate AS MATERIALIZED (
SELECT
c.currency_id,
COALESCE(r.company_id, c.company_id) as company_id,
r.rate,
r.name AS date_start,
c.currency_group,
(SELECT name FROM res_currency_rate r2
WHERE r2.name > r.name AND
r2.currency_id = r.currency_id AND
(r2.company_id is null or r2.company_id = c.company_id)
ORDER BY r2.name ASC
LIMIT 1) AS date_end
FROM res_currency_rate r
RIGHT JOIN currency_group_line c ON (r.company_id is null or (r.company_id = c.company_id and r.currency_id = c.currency_id))
where c.currency_group = False
)
select "aml"."id", "aml"."move_id", "aml"."journal_id", "aml"."company_id", "aml"."company_currency_id", "aml"."sequence", "aml"."account_id", "aml"."partner_id", "aml"."reconcile_model_id", "aml"."payment_id", "aml"."statement_line_id", "aml"."statement_id", "aml"."group_tax_id", "aml"."tax_line_id", "aml"."tax_group_id", "aml"."tax_repartition_line_id", "aml"."full_reconcile_id", "aml"."account_root_id", "aml"."product_id", "aml"."product_uom_id", "aml"."create_uid", "aml"."write_uid", "aml"."move_name", "aml"."parent_state", "aml"."ref", "aml"."name", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."invoice_date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."tax_base_amount", "aml"."amount_residual", "aml"."amount_residual_currency", "aml"."quantity", "aml"."price_unit", "aml"."price_subtotal", "aml"."price_total", "aml"."discount", "aml"."discount_amount_currency", "aml"."discount_balance", "aml"."tax_tag_invert", "aml"."reconciled", "aml"."blocked", "aml"."create_date", "aml"."write_date", "aml"."deferred_start_date", "aml"."deferred_end_date", "aml"."purchase_line_id", "aml"."cogs_origin_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."l10n_pe_group_id", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason",
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.balance ELSE aml.balance * cr.rate END as balance,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.credit ELSE aml.credit * cr.rate END as credit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.debit ELSE aml.debit * cr.rate END as debit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id or (aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id) THEN aml.amount_currency ELSE null END as amount_currency,
CASE WHEN aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id THEN aml.currency_id ELSE cr.currency_id END as currency_id,
(case when cr.rate is null or cr.currency_id = c.currency_id then 1.0 else cr.rate end) as aml_rate
from account_move_line aml
left join currency_rate cr on
(cr.currency_id in () and
cr.company_id = aml.company_id and
(cr.date_start <= COALESCE(aml.date, NOW()) or cr.date_start is null) and
(cr.date_end IS NULL OR cr.date_end > COALESCE(aml.date, NOW())))
join res_company as c on c.id=cr.company_id
ERROR: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
|
2025-02-22 20:31:17
|
ERROR
|
server
|
odoo.addons.base.models.ir_cron:406
Call from cron Update AML in currency for server action #783 failed in Job #46
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(783,)", line 1, in <module>
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 22, in cron_recreate_aml_materialized
to_update.action_currency_aml_materialized()
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 46, in action_currency_aml_materialized
self._cr.execute("""CREATE TABLE IF NOT EXISTS %s AS
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 397, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 943, in run
res = runner(run_self, eval_context=eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_actions_server.py", line 61, in _run_action_code_multi
res = super(ServerAction, self)._run_action_code_multi(eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 775, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self)) # nocopy allows to return 'action'
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 413, in safe_eval
raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'psycopg2.errors.SyntaxError'>: "syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
" while evaluating
'model.cron_recreate_aml_materialized()'
|
2025-02-23 05:28:16
|
ERROR
|
server
|
odoo.addons.base.models.ir_cron:406
Call from cron Saas Client Database Backup for server action #257 failed in Job #13
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 397, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 943, in run
res = runner(run_self, eval_context=eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_actions_server.py", line 61, in _run_action_code_multi
res = super(ServerAction, self)._run_action_code_multi(eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 775, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self)) # nocopy allows to return 'action'
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(257,)", line 1, in <module>
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 70, in cron_backup_database
self.backup_database()
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 102, in backup_database
storage_type = self.get_bucket_type()
File "/data/build/ingadhoc-ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 35, in get_bucket_type
raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
|
2025-02-23 20:30:59
|
ERROR
|
server
|
odoo.sql_db:335
bad query: CREATE TABLE IF NOT EXISTS account_move_line_in_currency_0 AS
WITH currency_rate AS MATERIALIZED (
SELECT
c.currency_id,
COALESCE(r.company_id, c.company_id) as company_id,
r.rate,
r.name AS date_start,
c.currency_group,
(SELECT name FROM res_currency_rate r2
WHERE r2.name > r.name AND
r2.currency_id = r.currency_id AND
(r2.company_id is null or r2.company_id = c.company_id)
ORDER BY r2.name ASC
LIMIT 1) AS date_end
FROM res_currency_rate r
RIGHT JOIN currency_group_line c ON (r.company_id is null or (r.company_id = c.company_id and r.currency_id = c.currency_id))
where c.currency_group = False
)
select "aml"."id", "aml"."move_id", "aml"."journal_id", "aml"."company_id", "aml"."company_currency_id", "aml"."sequence", "aml"."account_id", "aml"."partner_id", "aml"."reconcile_model_id", "aml"."payment_id", "aml"."statement_line_id", "aml"."statement_id", "aml"."group_tax_id", "aml"."tax_line_id", "aml"."tax_group_id", "aml"."tax_repartition_line_id", "aml"."full_reconcile_id", "aml"."account_root_id", "aml"."product_id", "aml"."product_uom_id", "aml"."create_uid", "aml"."write_uid", "aml"."move_name", "aml"."parent_state", "aml"."ref", "aml"."name", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."invoice_date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."tax_base_amount", "aml"."amount_residual", "aml"."amount_residual_currency", "aml"."quantity", "aml"."price_unit", "aml"."price_subtotal", "aml"."price_total", "aml"."discount", "aml"."discount_amount_currency", "aml"."discount_balance", "aml"."tax_tag_invert", "aml"."reconciled", "aml"."blocked", "aml"."create_date", "aml"."write_date", "aml"."deferred_start_date", "aml"."deferred_end_date", "aml"."purchase_line_id", "aml"."cogs_origin_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."l10n_pe_group_id", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason",
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.balance ELSE aml.balance * cr.rate END as balance,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.credit ELSE aml.credit * cr.rate END as credit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id THEN aml.debit ELSE aml.debit * cr.rate END as debit,
CASE WHEN cr.rate is null or cr.currency_id = c.currency_id or (aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id) THEN aml.amount_currency ELSE null END as amount_currency,
CASE WHEN aml.currency_id <> cr.currency_id and aml.currency_id != c.currency_id THEN aml.currency_id ELSE cr.currency_id END as currency_id,
(case when cr.rate is null or cr.currency_id = c.currency_id then 1.0 else cr.rate end) as aml_rate
from account_move_line aml
left join currency_rate cr on
(cr.currency_id in () and
cr.company_id = aml.company_id and
(cr.date_start <= COALESCE(aml.date, NOW()) or cr.date_start is null) and
(cr.date_end IS NULL OR cr.date_end > COALESCE(aml.date, NOW())))
join res_company as c on c.id=cr.company_id
ERROR: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
|
2025-02-23 20:30:59
|
ERROR
|
server
|
odoo.addons.base.models.ir_cron:406
Call from cron Update AML in currency for server action #783 failed in Job #46
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(783,)", line 1, in <module>
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 22, in cron_recreate_aml_materialized
to_update.action_currency_aml_materialized()
File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 46, in action_currency_aml_materialized
self._cr.execute("""CREATE TABLE IF NOT EXISTS %s AS
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 397, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 943, in run
res = runner(run_self, eval_context=eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_actions_server.py", line 61, in _run_action_code_multi
res = super(ServerAction, self)._run_action_code_multi(eval_context)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_actions.py", line 775, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self)) # nocopy allows to return 'action'
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/safe_eval.py", line 413, in safe_eval
raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'psycopg2.errors.SyntaxError'>: "syntax error at or near ")"
LINE 28: (cr.currency_id in () and
^
" while evaluating
'model.cron_recreate_aml_materialized()'
|
2025-02-24 00:25:40
|
INFO
|
runbot
|
Kill build 127340-17-0
|