Commit: plugberry-pagos360:8577a9ca  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: plugberry-payment:8ec59363  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: plugberry-mercadopago:431ca0c2  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-demo:b5851a74  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-account-financial-tools:84224c7e  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-odoo-saas:d0310bde  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-odoo-argentina-ee:cb4c7e56  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-hr:3e943796  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-delivery:64b4170e  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-account-payment:f280c19d  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-purchase:76aff86e  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-uruguay:18164840  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-product:17e8be28  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-third-party-apps:d63ca582  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-miscellaneous:2343c511  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-aeroo_reports:815eb3bc  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-odoo-argentina:da8de004  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-project:6c3db3a7  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-stock:b919ac6b  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-multi-company:e32efae1  
Subject: [FIX] cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-argentina-sale:e73d85ad  
Subject: [FIX] cleaner.yaml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-partner:930fb439  
Subject: [FIX] cleaner.yaml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-website:87166077  
Subject: [FIX] cleaner.yaml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-sale:e8de3308  
Subject: Update and rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-odoo-saas-adhoc:d349231e  
Subject: [FIX] cleaner.yaml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-account-invoicing:fb44043f  
Subject: Rename cleaner.yaml to cleaner.yml
Author: Virginia Bonservizi
Committer: GitHub
Commit: ingadhoc-enterprise-extensions:d00b95dc  
Subject: [FIX] cleaner.yaml
Author: Andrés Zacchino
Committer: GitHub
Commit: ingadhoc-multi-store:10686917  
Subject: Create cleaner.yml
Author: Andrés Zacchino
Committer: GitHub
Commit: adhoc-cicd-oca-hr:a88a5041  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-odoo-odoo:ba43d74e  
Subject: Merge commit 'refs/pull/112460/head' of github.com:odoo/odoo into 16.0-16124
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-pos:cdb508b0  
Subject: Merge commit 'refs/pull/1205/head' of github.com:oca/pos into 16.0-16198
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-stock-logistics-request:9395bdff  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-account-analytic:089e754a  
Subject: Merge commit 'refs/pull/511/head' of github.com:oca/account-analytic into 16.0-16172
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-stock-logistics-availability:ddff4b82  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-account-reconcile:c3fedd07  
Subject: Merge commit 'refs/pull/836/head' of github.com:oca/account-reconcile into 16.0-16184
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-camptocamp-odoo-cloud-platform:9d8aeebf  
Subject: Merge commit 'refs/pull/397/head' of github.com:camptocamp/odoo-cloud-platform into 16.0-16171
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-timesheet:ed010c08  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-odoo-enterprise:1583529a  
Subject: Merge commit 'refs/pull/36994/head' of github.com:odoo/enterprise into 16.0-16122
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-survey:7a55cb65  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-website:0d8bdb7e  
Subject: [UPD] addons table in README.md
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-server-backend:897f5872  
Subject: [UPD] addons table in README.md
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-odoo-design-themes:ef39caee  
Subject: [FIX] theme_cobalt,theme_paptic: enable blog Inter bolder
Author: Nicolas Lempereur
Committer: Nicolas Lempereur
Commit: adhoc-cicd-oca-partner-contact:06e8378f  
Subject: Translated using Weblate (Turkish)
Author: İsmail Çağan Yılmaz
Committer: Weblate
Commit: adhoc-cicd-oca-server-auth:82892ac5  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-knowledge:97e75cd3  
Subject: Added translation using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-product-attribute:079d59b5  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-brand:faa39ebb  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-mis-builder:5f5788de  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-account-invoicing:a53031cb  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-stock-logistics-workflow:f130af7d  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-management-system:e41f47a1  
Subject: Merge commit 'refs/pull/571/head' of github.com:oca/management-system into 16.0-16194
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-server-ux:0f1487d7  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-e-commerce:cd1456ea  
Subject: Merge commit 'refs/pull/694/head' of github.com:oca/e-commerce into 16.0-16188
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-hr-expense:4f36a5c5  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-manufacture:49f701ed  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-crm:9c629472  
Subject: Translated using Weblate (Finnish)
Author: Ossi Mantylahti
Committer: Weblate
Commit: adhoc-cicd-oca-stock-logistics-barcode:6c860b27  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-project:ed4cef42  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-server-tools:3abe25d7  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-social:827c12c0  
Subject: Merge commit 'refs/pull/1020/head' of github.com:oca/social into 16.0-15935
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-purchase-workflow:b2e7f431  
Subject: Merge commit 'refs/pull/1863/head' of github.com:oca/purchase-workflow into 16.0-16223
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-stock-logistics-warehouse:21a9094b  
Subject: Merge commit 'refs/pull/2224/head' of github.com:oca/stock-logistics-warehouse into 16.0-16214
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-web:1c05f608  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-product-pack:0864a8f0  
Subject: Merge commit 'refs/pull/115/head' of github.com:oca/product-pack into 16.0-16200
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-hr-holidays:c538a478  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-reporting-engine:b4d34b14  
Subject: Added translation using Weblate (Japanese)
Author: Sayaka-qrtl
Committer: Weblate
Commit: adhoc-cicd-oca-sale-workflow:6fd179fb  
Subject: Merge commit 'refs/pull/2683/head' of github.com:oca/sale-workflow into 16.0-16205
Author: adhoc-cicd-bot
Committer: adhoc-cicd-bot
Commit: adhoc-cicd-oca-bank-statement-import:3bc78cd7  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-report-print-send:822e5be7  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Version: 16.0
Config: [16.0] Odoo by Adhoc Config (with tests)
Build time: 12m
Wait time: 12m
Load time: 12m8s
Date Level Type Message
2025-08-21 14:42:23 INFO runbot Rebuild initiated by Administrator
2025-08-21 14:42:27 INFO runbot Init build environment with config [16.0] Odoo by Adhoc Config (with tests)
2025-08-21 14:42:27 Starting step 16-all-with-tests from config 16.0] Odoo by Adhoc Config (with tests) [
2025-08-21 14:42:27 Using Dockerfile Tag odoo:adhoc_odoo_16
2025-08-21 14:42:43 INFO server odoo.modules.loading:336 1 modules loaded in 6.32s, 9054 queries (+9054 extra)
2025-08-21 14:48:04 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: (UY) Company
2025-08-21 14:49:17 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: (UY) Company
2025-08-21 14:50:54 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: (UY) Company
2025-08-21 14:50:54 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento
2025-08-21 14:50:57 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: (UY) Company
2025-08-21 14:50:57 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, (AR) Monotributista
2025-08-21 14:50:59 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: (UY) Company
2025-08-21 14:50:59 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-08-21 14:51:08 INFO server odoo.addons.l10n_ar_edi.models.res_company:227 Setting demo certificate from to OdooCert3 in (AR) Responsable Inscripto company
2025-08-21 14:51:08 INFO server odoo.addons.l10n_ar_edi.models.res_company:227 Setting demo certificate from to OdooCert8 in (AR) Monotributista company
2025-08-21 14:51:08 INFO server odoo.addons.l10n_ar_edi.models.res_company:227 Setting demo certificate from to OdooCert4 in (AR) Exento company
2025-08-21 14:52:12 INFO server odoo.modules.loading:336 673 modules loaded in 565.94s, 360975 queries (+366533 extra)
2025-08-21 14:52:13 INFO server odoo.modules.loading:336 674 modules loaded in 0.95s, 246 queries (+246 extra)
2025-08-21 14:52:22 INFO server odoo.addons.base.models.ir_qweb:336 Pregenerating assets bundles
2025-08-21 14:53:01 INFO server odoo.addons.website.models.ir_qweb:336 62 bundle(s) were copied for website 1
2025-08-21 14:53:04 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:04 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, Muebleria ARG, company_2_data
2025-08-21 14:53:06 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:06 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, Muebleria ARG, company_1_data, company_2_data
2025-08-21 14:53:09 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:09 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, (AR) Monotributista (Unit Tests), (AR) Responsable Inscripto (Unit Tests), Muebleria ARG, company_2_data
2025-08-21 14:53:46 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:46 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, Muebleria ARG, company_2_data
2025-08-21 14:53:49 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:49 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, Muebleria ARG, company_1_data, company_2_data
2025-08-21 14:53:52 INFO server odoo.addons.l10n_uy_currency_update.models.res_company:41 Currency Provider configured as BCU for next companies: Muebleria UY
2025-08-21 14:53:52 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:47 Currency Provider configured as AFIP for next companies: (AR) Exento, (AR) Monotributista (Unit Tests), (AR) Responsable Inscripto (Unit Tests), Muebleria ARG, company_2_data
2025-08-21 14:54:34 INFO runbot Getting results for build 04521-16-0
2025-08-21 14:54:34 Step 16-all-with-tests finished in 12m
2025-08-21 14:54:34 Starting step setup from config 16.0] Odoo by Adhoc Config (with tests) [
2025-08-21 14:54:34 Using Dockerfile Tag odoo:adhoc_odoo_16
2025-08-21 14:54:35 INFO runbot Step setup finished in 1s
2025-08-21 14:54:35 Starting step run from config 16.0] Odoo by Adhoc Config (with tests) [
2025-08-21 14:54:35 INFO runbot Start running build 04521-16-0
2025-08-21 14:54:35 Using Dockerfile Tag odoo:adhoc_odoo_16
2025-08-21 14:54:37 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-21 14:54:43 INFO server odoo.modules.loading:336 674 modules loaded in 5.37s, 0 queries (+0 extra)
2025-08-21 14:55:51 WARNING server odoo.addons.l10n_cl_edi_factoring.models.ir_attachment:63 UNZIP for DTECedido_v10.xsd failed from URL: http://www.sii.cl/factura_electronica/schema_cesion_201912.zip
2025-08-21 14:55:51 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron 0. Cron Job - Load AEC XSD Files (Chilean SII) for server action #1346 failed in Job #86
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(1346,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/l10n_cl_edi_factoring/models/ir_attachment.py", line 66, in _load_aec_xsd_sii
    xsd_object = self._modify_and_validate_sii_xsd_content(content)
AttributeError: 'ir.attachment' object has no attribute '_modify_and_validate_sii_xsd_content'

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 391, 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 675, 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 545, 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 'AttributeError'>: "'ir.attachment' object has no attribute '_modify_and_validate_sii_xsd_content'" while evaluating
'model._load_aec_xsd_sii()'
2025-08-21 14:55:54 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-21 14:55:54 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-21 14:56:04 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:08 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:10 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:12 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:15 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:19 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:21 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:23 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:25 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:27 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:29 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:32 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:34 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:36 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:38 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:40 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:42 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:45 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:47 WARNING server odoo.addons.base.models.ir_actions_report:510
wkhtmltopdf: Exit with code 1 due to network error: ContentNotFoundError
2025-08-21 14:56:47 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-21 16:29:34 WARNING server odoo.addons.base.models.ir_qweb:2057 Found deprecated directive @t-raw='toc.get_facetFilters()' in template 2951. Replace by @t-out, and explicitely wrap content in `Markup` if necessary (which likely is not the case)
2025-08-21 16:30:23 WARNING server odoo.addons.base.models.ir_qweb:2057 Found deprecated directive @t-raw='toc.get_facetFilters()' in template 2951. Replace by @t-out, and explicitely wrap content in `Markup` if necessary (which likely is not the case)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteSalePortal.portal_addresses at 0x76f260447370> (/portal/addresses)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteSalePortal.portal_address at 0x76f260447130> (/portal/address)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.old_how_to_redirect at 0x76f26263cb80> (/doc/how-to)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteSaleController.update_validity_and_redirect at 0x76f2611eb9a0> (/update_date_prices_and_validity)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.article_doc_render at 0x76f26263cdc0> (/doc,/doc/<model("website.doc.toc"):doc>/<model("website.doc.toc"):toc>)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.article_doc_redirect at 0x76f26263cca0> (/doc/<model("website.doc.toc"):toc>,/doc/how-to/<model("website.doc.toc"):toc>)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.search_results at 0x76f26263eef0> (/doc/<model("website.doc.toc"):doc>/search_results,/doc/<model("website.doc.toc"):doc>/search_results/page/<int:page>)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.article_doc_render at 0x76f26263cdc0> (/doc,/doc/<model("website.doc.toc"):doc>/<model("website.doc.toc"):toc>)
2025-08-21 16:31:59 WARNING server odoo.addons.website.models.website:1196 No Sitemap value provided for controller <function WebsiteDoc.article_doc_redirect at 0x76f26263cca0> (/doc/<model("website.doc.toc"):toc>,/doc/how-to/<model("website.doc.toc"):toc>)
2025-08-21 18:25:54 WARNING server odoo.addons.base.models.ir_qweb:2057 Found deprecated directive @t-raw='toc.get_facetFilters()' in template 2951. Replace by @t-out, and explicitely wrap content in `Markup` if necessary (which likely is not the case)
2025-08-21 18:26:13 WARNING server odoo.addons.base.models.ir_qweb:2057 Found deprecated directive @t-raw='toc.get_facetFilters()' in template 2951. Replace by @t-out, and explicitely wrap content in `Markup` if necessary (which likely is not the case)
2025-08-21 20:05:39 ERROR server odoo.sql_db:327
bad query: INSERT INTO "purchase_order" ("company_id", "create_date", "create_uid", "currency_id", "date_order", "delivery_status", "invoice_count", "invoice_status", "mail_reception_confirmed", "mail_reminder_confirmed", "name", "picking_type_id", "priority", "state", "user_id", "write_date", "write_uid") VALUES (10, '2025-08-21 20:05:39.451517', 2, 20, '2025-08-21 20:05:39', 'no', 0, 'no', false, false, '1-1', 121, '0', 'draft', 2, '2025-08-21 20:05:39.451517', 2) RETURNING "id"
ERROR: null value in column "partner_id" of relation "purchase_order" violates not-null constraint
DETAIL:  Failing row contains (79, null, null, null, 20, 0, null, null, null, 2, 10, 2, 2, null, 1-1, 0, null, null, draft, no, null, null, null, null, f, f, 2025-08-21 20:05:39, null, null, null, 2025-08-21 20:05:39.451517, 2025-08-21 20:05:39.451517, null, 121, null, null, null, null, null, null, null, null, no, null).
2025-08-21 20:05:39 WARNING server odoo.http:2257
No se pudo completar la operación:
- Crear/actualizar: no configuró un campo obligatorio.
- Eliminar: otro modelo requiere que se elimine el registro. Si es posible, mejor archívelo.

Modelo: Purchase Order (purchase.order)
Campo: Vendor (partner_id)
2025-08-21 20:15:14 ERROR server odoo.sql_db:327
bad query: INSERT INTO "purchase_order" ("company_id", "create_date", "create_uid", "currency_id", "date_order", "delivery_status", "invoice_count", "invoice_status", "mail_reception_confirmed", "mail_reminder_confirmed", "name", "picking_type_id", "priority", "state", "user_id", "write_date", "write_uid") VALUES (10, '2025-08-21 20:15:14.941624', 2, 20, '2025-08-21 20:15:14', 'no', 0, 'no', false, false, '6-6', 121, '0', 'draft', 2, '2025-08-21 20:15:14.941624', 2) RETURNING "id"
ERROR: null value in column "partner_id" of relation "purchase_order" violates not-null constraint
DETAIL:  Failing row contains (81, null, null, null, 20, 0, null, null, null, 2, 10, 2, 2, null, 6-6, 0, null, null, draft, no, null, null, null, null, f, f, 2025-08-21 20:15:14, null, null, null, 2025-08-21 20:15:14.941624, 2025-08-21 20:15:14.941624, null, 121, null, null, null, null, null, null, null, null, no, null).
2025-08-21 20:15:15 WARNING server odoo.http:2257
No se pudo completar la operación:
- Crear/actualizar: no configuró un campo obligatorio.
- Eliminar: otro modelo requiere que se elimine el registro. Si es posible, mejor archívelo.

Modelo: Purchase Order (purchase.order)
Campo: Vendor (partner_id)
2025-08-21 20:15:58 WARNING server odoo.models:6364 onchange method PurchaseOrderLine.onchange_product_id returned a domain, this is deprecated
2025-08-22 05:44:07 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Saas Client Database Backup for server action #372 failed in Job #21
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 391, 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 675, 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 545, 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(372,)", line 1, in <module>
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 101, in cron_backup_database
    self.backup_database()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 133, in backup_database
    storage_type = self.get_bucket_type()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 66, in get_bucket_type
    raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
2025-08-22 14:43:56 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-22 14:47:17 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-22 14:47:17 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-22 19:03:26 ERROR server odoo.sql_db:327
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 (
                3, 3, now() at time zone 'UTC', 1, 1,
                1, 'America/Cordoba', 2, 2,
                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://04521-16-0-all.runbot.dev-adhoc.com/' 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
2025-08-22 19:04:14 WARNING server odoo.http:2257 No puede cambiar la moneda de la compañía, ya que contiene asientos contables
2025-08-22 19:04:25 WARNING server odoo.http:2257 No puede cambiar la moneda de la compañía, ya que contiene asientos contables
2025-08-23 05:44:27 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Saas Client Database Backup for server action #372 failed in Job #21
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 391, 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 675, 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 545, 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(372,)", line 1, in <module>
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 101, in cron_backup_database
    self.backup_database()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 133, in backup_database
    storage_type = self.get_bucket_type()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 66, in get_bucket_type
    raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
2025-08-23 14:43:49 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-23 14:47:14 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-23 14:47:14 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-23 19:47:33 WARNING server odoo.addons.base.models.ir_qweb:2057 Found deprecated directive @t-raw='toc.get_facetFilters()' in template 2951. Replace by @t-out, and explicitely wrap content in `Markup` if necessary (which likely is not the case)
2025-08-24 05:43:57 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Saas Client Database Backup for server action #372 failed in Job #21
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 391, 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 675, 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 545, 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(372,)", line 1, in <module>
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 101, in cron_backup_database
    self.backup_database()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 133, in backup_database
    storage_type = self.get_bucket_type()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 66, in get_bucket_type
    raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
2025-08-24 14:43:55 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-24 14:47:16 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-24 14:47:16 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-25 05:43:43 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Saas Client Database Backup for server action #372 failed in Job #21
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 391, 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 675, 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 545, 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(372,)", line 1, in <module>
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 101, in cron_backup_database
    self.backup_database()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 133, in backup_database
    storage_type = self.get_bucket_type()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 66, in get_bucket_type
    raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
2025-08-25 14:44:47 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-25 14:47:01 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-25 14:47:01 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-25 18:56:45 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-25 18:56:48 INFO server odoo.modules.loading:336 674 modules loaded in 0.28s, 0 queries (+0 extra)
2025-08-25 18:56:49 INFO server odoo.modules.loading:336 675 modules loaded in 1.00s, 95 queries (+95 extra)
2025-08-25 18:56:55 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-25 18:56:58 INFO server odoo.modules.loading:336 675 modules loaded in 0.27s, 0 queries (+0 extra)
2025-08-25 18:57:05 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-25 18:57:05 INFO server odoo.modules.loading:336 675 modules loaded in 0.49s, 0 queries (+0 extra)
2025-08-25 18:57:16 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-25 18:57:17 INFO server odoo.modules.loading:336 675 modules loaded in 0.39s, 0 queries (+0 extra)
2025-08-25 18:59:47 WARNING server odoo.models:6364 onchange method PurchaseOrderLine.onchange_product_id returned a domain, this is deprecated
2025-08-25 20:21:58 WARNING server odoo.models:6364 onchange method PurchaseOrderLine.onchange_product_id returned a domain, this is deprecated
2025-08-25 20:27:20 WARNING server odoo.http:2257
You can not delete this pickings because "Block picking deletion" is enable on the picking type/s "Internal Transfers" or the state of the picking is not draft or cancel.
Picking Ids: [84]
2025-08-25 20:29:44 WARNING server odoo.models:6364 onchange method PurchaseOrderLine.onchange_product_id returned a domain, this is deprecated
2025-08-26 05:44:28 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Saas Client Database Backup for server action #372 failed in Job #21
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_cron.py", line 391, 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 675, 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 545, 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(372,)", line 1, in <module>
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 101, in cron_backup_database
    self.backup_database()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 133, in backup_database
    storage_type = self.get_bucket_type()
  File "/data/build/ingadhoc-odoo-saas/saas_client/wizards/saas_client_dashboard.py", line 66, in get_bucket_type
    raise ValidationError(_('No hay bucket configurado'))
odoo.exceptions.ValidationError: No hay bucket configurado
2025-08-26 14:43:48 ERROR server odoo.addons.saas_client_adhoc.wizards.db_configuration:26
Error Updating ADHOC Modules Data. Error:
Not Provider url or saas database uuid configured
2025-08-26 14:47:09 ERROR server odoo.sql_db:327
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"."tax_audit", "aml"."matching_number", "aml"."display_type", "aml"."date", "aml"."date_maturity", "aml"."discount_date", "aml"."analytic_distribution", "aml"."amount_currency", "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"."discount_percentage", "aml"."store_id", "aml"."expense_id", "aml"."purchase_line_id", "aml"."expected_pay_date", "aml"."user_id", "aml"."l10n_latam_document_type_id", "aml"."purchase_subscription_id", "aml"."is_downpayment", "aml"."followup_line_id", "aml"."last_followup_date", "aml"."next_action_date", "aml"."l10n_pe_group_id", "aml"."discount1", "aml"."discount2", "aml"."discount3", "aml"."is_landed_costs_line", "aml"."l10n_pe_edi_allowance_charge_reason_code", "aml"."l10n_pe_edi_affectation_reason", "aml"."subscription_mrr", "aml"."subscription_id", "aml"."subscription_start_date", "aml"."subscription_end_date", "aml"."tax_settlement_move_id", "aml"."tax_state", "aml"."reward_id", "aml"."price_taxcloud",
        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,
        cr.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 27:                     (cr.currency_id in () and
                                                 ^
2025-08-26 14:47:09 ERROR server odoo.addons.base.models.ir_cron:400
Call from cron Update AML in currency for server action #1124 failed in Job #68
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(1124,)", line 1, in <module>
  File "/data/build/ingadhoc-enterprise-extensions/account_reports_multicurrency/models/currency_group.py", line 15, 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 39, 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 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 27:                     (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 391, 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 675, 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 545, 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 27:                     (cr.currency_id in () and
                                                 ^
" while evaluating
'model.cron_recreate_aml_materialized()'
2025-08-26 19:23:10 INFO runbot Kill build 04521-16-0