Description: demo_wholesale
Commit: ingadhoc-demo-demo:8703a983  
Subject: [IMP] demo: generar cantidades a mano y facturas en borrador
Author: Lara
Committer: Lara
Commit: ingadhoc-aeroo_reports:13319a87  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-delivery:b41f3ccb  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-argentina-sale:b26ce4fe  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-ingadhoc-odoo-saas:8b4a8721  
Subject: [FIX] saas_provider: fix query format
Author: “Virginia
Committer: “Virginia
Commit: ingadhoc-account-invoicing:53c27398  
Subject: [FIX] account_invoice_tax: reestablish taxes on credit notes
Author: Camila Vives
Committer: Camila Vives
Commit: ingadhoc-product:5d4d5cf5  
Subject: [IMP]stock_location_by_priority: product_available
Author: mav-adhoc
Committer: Matias Velazquez
Commit: ingadhoc-odoo-argentina-ee:0bfc29ef  
Subject: [ADD]: account_accountant_ux: Added action_reconcile from account_ux
Author: Felipe Garcia Suez
Committer: Felipe Garcia Suez
Commit: ingadhoc-sale:0678961d  
Subject: [ADD]sale_timesheet_ux: README
Author: Juan Ignacio Carreras
Committer: Juan Ignacio Carreras
Commit: ingadhoc-hr:d10a3c12  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-account-financial-tools:4cb3b5f9  
Subject: [FIX] account_interest : Fix when searching the journal and having more than one receivable_account_ids
Author: Rocío Vega
Committer: Rocío Vega
Commit: ingadhoc-account-payment:d1ecca8e  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-enterprise-extensions:f79b2965  
Subject: [FIX] account_reports_multicurrency: Surround field names with double quotes
Author: Daniel Libonati
Committer: Daniel Libonati
Commit: ingadhoc-project:fbdcd3fd  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: plugberry-mercadopago:d917a7f6  
Subject: [IMP] Fix Refund method
Author: Martin Quinteros
Committer: Martin Quinteros
Commit: ingadhoc-website:542f1d65  
Subject: [FIX] Fix module dependencies
Author: Martin Quinteros
Committer: Katherine Zaoral
Commit: ingadhoc-third-party-apps:89b4f0db  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-multi-company:4305c32d  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-partner:6e24103c  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-purchase:ad0cdf7b  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-uruguay:578ce161  
Subject: [REM] deprecate github workflow no longer needed
Author: Juan José Scarafia
Committer: Juan José Scarafia
Commit: ingadhoc-miscellaneous:a483e5a7  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: plugberry-pagos360:0647d7bc  
Subject: [IMP] payment_pagos360: revert payments from pagos360
Author: augusto-weiss
Committer: augusto-weiss
Commit: ingadhoc-stock:5acacdc1  
Subject: [ADD]picking_waybill: new module
Author: Juan Ignacio Carreras
Committer: Juan Ignacio Carreras
Commit: ingadhoc-multi-store:05249581  
Subject: [REF] _pay_pro_multi_store: refactor + finish migration
Author: Juan José Scarafia
Committer: Juan José Scarafia
Commit: plugberry-payment:4a014673  
Subject: [IMP] FIX error show
Author: Martin Quinteros
Committer: augusto-weiss
Commit: ingadhoc-odoo-argentina:62f8910b  
Subject: [IMP] l10n_ar_account_withholding_cba: new module
Author: Pablo Montenegro
Committer: Pablo Montenegro
Commit: ingadhoc-ingadhoc-odoo-saas-adhoc2:21b2c7e8  
Subject: [FIX] odoorestore
Author: Juan José Scarafia
Committer: Juan José Scarafia
Commit: adhoc-cicd-oca-knowledge:53202b74  
Subject: Merge commit 'refs/pull/506/head' of https://github.com/oca/knowledge into 17.0-10895
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-report-print-send:ab0e7d3f  
Subject: Translated using Weblate (Chinese (Simplified) (zh_CN))
Author: xtanuiha
Committer: Weblate
Commit: adhoc-cicd-odoo-enterprise:55040ae9  
Subject: Merge commit 'refs/pull/59150/head' of https://github.com/odoo/enterprise into 17.0-10912
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-account-reconcile:6e856dc4  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-purchase-workflow:da7ecd4d  
Subject: Merge commit 'refs/pull/2213/head' of https://github.com/oca/purchase-workflow into 17.0-10901
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-server-tools:441ff430  
Subject: Merge commit 'refs/pull/2831/head' of https://github.com/oca/server-tools into 17.0-10781
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-availability:ecf866ee  
Subject: Merge commit 'refs/pull/19/head' of https://github.com/oca/stock-logistics-availability into 17.0-10784
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-barcode:68ee8c9b  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-website:650dbd0b  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-server-auth:6519e04a  
Subject: Merge commit 'refs/pull/605/head' of https://github.com/oca/server-auth into 17.0-10779
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-server-ux:5b5bc872  
Subject: Merge commit 'refs/pull/868/head' of https://github.com/oca/server-ux into 17.0-10782
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-workflow:56323acd  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-odoo-design-themes:003cf404  
Subject: [I18N] Update translation terms from Transifex
Author: Odoo Online
Committer: Odoo Online
Commit: adhoc-cicd-oca-manufacture:aa1e5058  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-account-analytic:43a2154c  
Subject: Merge commit 'refs/pull/627/head' of https://github.com/oca/account-analytic into 17.0-10883
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-account-invoicing:678e69e8  
Subject: Merge commit 'refs/pull/1630/head' of https://github.com/oca/account-invoicing into 17.0-10886
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-server-backend:77db565b  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-sale-workflow:c632cfab  
Subject: Merge commit 'refs/pull/3046/head' of https://github.com/oca/sale-workflow into 17.0-10778
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-social:c7da735d  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-l10n-spain:32620199  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-brand:b2487073  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-stock-logistics-warehouse:8e5d0ce8  
Subject: Merge commit 'refs/pull/1973/head' of https://github.com/oca/stock-logistics-warehouse into 17.0-10787
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-timesheet:48658a1a  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-product-pack:951801b8  
Subject: Merge commit 'refs/pull/157/head' of https://github.com/oca/product-pack into 17.0-10687
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-project:7f8149f0  
Subject: Translated using Weblate (Spanish)
Author: Alberto Martínez
Committer: Weblate
Commit: adhoc-cicd-oca-bank-statement-import:619bf137  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-e-commerce:925d5f95  
Subject: Merge commit 'refs/pull/925/head' of https://github.com/oca/e-commerce into 17.0-10891
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-request:b42a4b76  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-crm:5efea7f6  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-partner-contact:d9ec5d0f  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-web:0fb128d5  
Subject: Merge commit 'refs/pull/2704/head' of https://github.com/oca/web into 17.0-10791
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-odoo-odoo:bfd5239a  
Subject: Merge commit 'refs/pull/147530/head' of https://github.com/odoo/odoo into 17.0-10902
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-product-attribute:21171af9  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-management-system:e023e6f9  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-mis-builder:70db5570  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-reporting-engine:f25baf75  
Subject: Added translation using Weblate (French)
Author: epanisset
Committer: Weblate
Version: 17.0
Config: Adhoc Conf for demo (y personalizaciones) 17+
Total time: 7m
Date Level Type Message
2024-11-21 17:05:40 INFO runbot Init build environment with config Adhoc Conf for demo (y personalizaciones) 17+
2024-11-21 17:05:40 Starting step all_no_test from config Adhoc Conf for demo (y personalizaciones) 17+
2024-11-21 17:05:40 INFO runbot Using Dockerfile Tag odoo:adhoc-odoo-17
2024-11-21 17:06:13 INFO server odoo.modules.loading:303 1 modules loaded in 13.11s, 9049 queries (+9049 extra)
2024-11-21 17:10:31 INFO server odoo.addons.l10n_ar_edi.models.res_company:216 Setting demo certificate from to OdooCert6 in (AR) Responsable Inscripto company
2024-11-21 17:10:31 INFO server odoo.addons.l10n_ar_edi.models.res_company:216 Setting demo certificate from to OdooCert3 in (AR) Monotributista company
2024-11-21 17:10:31 INFO server odoo.addons.l10n_ar_edi.models.res_company:216 Setting demo certificate from to OdooCert2 in (AR) Exento company
2024-11-21 17:11:05 INFO server odoo.addons.l10n_ar_currency_update.models.res_company:46 Currency Provider configured as AFIP for next companies: (AR) Exento, (AR) Monotributista, (AR) Responsable Inscripto
2024-11-21 17:12:34 WARNING server odoo.modules.loading:93
Module demo_base_minimal demo data failed to install, installed without demo data
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 556, in _tag_root
    f(rec)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 280, in _tag_function
    _eval_xml(self, rec, env)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 205, in _eval_xml
    return odoo.api.call_kw(model, method_name, args, kwargs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 464, in call_kw
    result = _call_kw_model(method, model, args, kwargs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 435, in _call_kw_model
    result = method(recs, *args, **kwargs)
  File "/data/build/ingadhoc-demo-demo/demo_base_minimal/demo_py/sale_order.py", line 109, in _init_demo_base
    invoices = sale_a._create_invoices(final=True)
  File "/data/build/ingadhoc-sale/sale_ux/models/sale_order.py", line 211, in _create_invoices
    invoices = super()._create_invoices(grouped=grouped, final=final, date=date)
  File "/data/build/ingadhoc-argentina-sale/l10n_ar_sale/models/sale_order.py", line 130, in _create_invoices
    invoices = super()._create_invoices(grouped=grouped, final=final, date=date)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1326, in _create_invoices
    raise UserError(self._nothing_to_invoice_error_message())
odoo.exceptions.UserError: Cannot create an invoice. No items are available to invoice.
To resolve this issue, please ensure that:
   • The products have been delivered before attempting to invoice them.
   • The invoicing policy of the product is configured correctly.
If you want to invoice based on ordered quantities instead:
   • For consumable or storable products, open the product, go to the 'General Information' tab and change the 'Invoicing Policy' from 'Delivered Quantities' to 'Ordered Quantities'.
   • For services (and other products), change the 'Invoicing Policy' to 'Prepaid/Fixed Price'.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 89, in load_demo
    load_data(env(su=True), idref, mode, kind='demo', package=package)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 71, in load_data
    tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 627, in convert_file
    convert_xml_import(env, module, fp, idref, mode, noupdate)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 693, in convert_xml_import
    obj.parse(doc.getroot())
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 613, in parse
    self._tag_root(de)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/convert.py", line 569, in _tag_root
    raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/ingadhoc-demo-demo/demo_base_minimal/demo/init_demo_py.xml:6, somewhere inside
<function model="sale.order" name="_init_demo_base"/>
2024-11-21 17:12:34 ERROR server odoo.sql_db:335
bad query: INSERT INTO "account_tax_sale_order_line_rel" ("sale_order_line_id", "account_tax_id") VALUES (222, 318) ON CONFLICT DO NOTHING
ERROR: insert or update on table "account_tax_sale_order_line_rel" violates foreign key constraint "account_tax_sale_order_line_rel_sale_order_line_id_fkey"
DETAIL:  Key (sale_order_line_id)=(222) is not present in table "sale_order_line".
2024-11-21 17:12:34 WARNING server odoo.modules.loading:632 Transient module states were reset
This error is already known.
2024-11-21 17:12:34 ERROR server odoo.modules.registry:119
Failed to load registry
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 114, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 480, in load_modules
    processed_modules += load_marked_modules(env, graph,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 364, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 236, in load_module_graph
    module._update_translations(overwrite=overwrite)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_module.py", line 847, in _update_translations
    self.env['ir.module.module']._load_module_terms(mod_names, filter_lang, overwrite)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_module_module.py", line 498, in _load_module_terms
    self.env.cr.flush()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 137, in flush
    self.transaction.flush()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 863, in flush
    env_to_flush.flush_all()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 721, in flush_all
    self._recompute_all()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 717, in _recompute_all
    self[field.model_name]._recompute_field(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6930, in _recompute_field
    field.recompute(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1715, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 424, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 647, in _compute_amount_to_invoice
    order.amount_to_invoice = order.amount_total - invoices._get_sale_order_invoiced_amount(order)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1715, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 424, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 466, in _compute_amounts
    tax_results = order.env['account.tax']._compute_taxes([
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 467, in <listcomp>
    line._convert_to_tax_base_line_dict()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 612, in _convert_to_tax_base_line_dict
    price_subtotal=self.price_subtotal,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/ingadhoc-argentina-sale/l10n_ar_sale/models/sale_order_line.py", line 142, in _compute_amount
    super(SaleOrderLine, line)._compute_amount()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 623, in _compute_amount
    line._convert_to_tax_base_line_dict()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 608, in _convert_to_tax_base_line_dict
    taxes=self.tax_id,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 2907, in __get__
    return super().__get__(records, owner)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_loyalty/models/sale_order_line.py", line 32, in _compute_tax_id
    super(SaleOrderLine, self - reward_lines)._compute_tax_id()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 443, in _compute_tax_id
    line.tax_id = result
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1302, in __set__
    self.write(protected_records, value)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4337, in write
    self.write_batch([(records, value)])
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4358, in write_batch
    self.write_real(records_commands_list, create)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4945, in write_real
    cr.execute(SQL(
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: insert or update on table "account_tax_sale_order_line_rel" violates foreign key constraint "account_tax_sale_order_line_rel_sale_order_line_id_fkey"
DETAIL:  Key (sale_order_line_id)=(222) is not present in table "sale_order_line".
2024-11-21 17:12:34 CRITICAL server odoo.service.server:1350
Failed to initialize database `93737-17-0-all`.
Traceback (most recent call last):
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/service/server.py", line 1313, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "<decorator-gen-16>", line 2, in new
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/registry.py", line 114, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 480, in load_modules
    processed_modules += load_marked_modules(env, graph,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 364, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/modules/loading.py", line 236, in load_module_graph
    module._update_translations(overwrite=overwrite)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_module.py", line 847, in _update_translations
    self.env['ir.module.module']._load_module_terms(mod_names, filter_lang, overwrite)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/website/models/ir_module_module.py", line 498, in _load_module_terms
    self.env.cr.flush()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 137, in flush
    self.transaction.flush()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 863, in flush
    env_to_flush.flush_all()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 721, in flush_all
    self._recompute_all()
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 717, in _recompute_all
    self[field.model_name]._recompute_field(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6930, in _recompute_field
    field.recompute(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1715, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 424, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 647, in _compute_amount_to_invoice
    order.amount_to_invoice = order.amount_total - invoices._get_sale_order_invoiced_amount(order)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 1715, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 424, in _compute_field_value
    return super()._compute_field_value(field)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 466, in _compute_amounts
    tax_results = order.env['account.tax']._compute_taxes([
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order.py", line 467, in <listcomp>
    line._convert_to_tax_base_line_dict()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 612, in _convert_to_tax_base_line_dict
    price_subtotal=self.price_subtotal,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/ingadhoc-argentina-sale/l10n_ar_sale/models/sale_order_line.py", line 142, in _compute_amount
    super(SaleOrderLine, line)._compute_amount()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 623, in _compute_amount
    line._convert_to_tax_base_line_dict()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 608, in _convert_to_tax_base_line_dict
    taxes=self.tax_id,
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 2907, in __get__
    return super().__get__(records, owner)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1152, in __get__
    self.recompute(record)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1367, in recompute
    apply_except_missing(self.compute_value, recs)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1340, in apply_except_missing
    func(records)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1389, in compute_value
    records._compute_field_value(self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4894, in _compute_field_value
    fields.determine(field.compute, self)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 102, in determine
    return needle(*args)
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale_loyalty/models/sale_order_line.py", line 32, in _compute_tax_id
    super(SaleOrderLine, self - reward_lines)._compute_tax_id()
  File "/data/build/adhoc-cicd-odoo-odoo/addons/sale/models/sale_order_line.py", line 443, in _compute_tax_id
    line.tax_id = result
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1302, in __set__
    self.write(protected_records, value)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4337, in write
    self.write_batch([(records, value)])
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4358, in write_batch
    self.write_real(records_commands_list, create)
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 4945, in write_real
    cr.execute(SQL(
  File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 332, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: insert or update on table "account_tax_sale_order_line_rel" violates foreign key constraint "account_tax_sale_order_line_rel_sale_order_line_id_fkey"
DETAIL:  Key (sale_order_line_id)=(222) is not present in table "sale_order_line".
2024-11-21 17:12:40 Step all_no_test finished in 7m
2024-11-21 17:12:40 Starting step setup from config Adhoc Conf for demo (y personalizaciones) 17+
2024-11-21 17:12:40 INFO runbot Using Dockerfile Tag odoo:adhoc-odoo-17
2024-11-21 17:12:41 INFO runbot Step setup finished in 1s
2024-11-21 17:12:41 Starting step run from config Adhoc Conf for demo (y personalizaciones) 17+
2024-11-21 17:12:41 INFO runbot Start running build 93737-17-0
2024-11-21 17:12:41 INFO runbot Using Dockerfile Tag odoo:adhoc-odoo-17
2024-11-21 17:12:48 INFO server odoo.modules.loading:303 1 modules loaded in 0.01s, 0 queries (+0 extra)
2024-11-21 17:12:48 INFO server odoo.modules.loading:303 279 modules loaded in 3.31s, 0 queries (+0 extra)
2024-11-21 17:14:51 ERROR server odoo.service.server:886 WorkerCron (23) timeout after 120s
2024-11-21 17:14:51 ERROR server odoo.service.server:886 WorkerCron (23) timeout after 120s
2024-11-21 17:16:50 ERROR server odoo.service.server:886 WorkerCron (27) timeout after 120s
2024-11-21 17:16:50 ERROR server odoo.service.server:886 WorkerCron (27) timeout after 120s
2024-11-21 17:18:48 ERROR server odoo.service.server:886 WorkerCron (29) timeout after 120s
2024-11-21 17:18:48 ERROR server odoo.service.server:886 WorkerCron (29) timeout after 120s
2024-11-21 17:20:53 ERROR server odoo.service.server:886 WorkerCron (31) timeout after 120s
2024-11-21 17:20:53 ERROR server odoo.service.server:886 WorkerCron (31) timeout after 120s
2024-11-21 17:22:50 ERROR server odoo.service.server:886 WorkerCron (33) timeout after 120s
2024-11-21 17:22:50 ERROR server odoo.service.server:886 WorkerCron (33) timeout after 120s
2024-11-21 17:24:49 ERROR server odoo.service.server:886 WorkerCron (35) timeout after 120s
2024-11-21 17:24:49 ERROR server odoo.service.server:886 WorkerCron (35) timeout after 120s
2024-11-21 17:25:58 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
2024-11-21 17:26:03 INFO server odoo.modules.loading:303 1 modules loaded in 0.01s, 0 queries (+0 extra)
2024-11-21 17:26:09 INFO server odoo.modules.loading:303 279 modules loaded in 0.17s, 0 queries (+0 extra)
2024-11-21 17:26:15 INFO server odoo.modules.loading:303 283 modules loaded in 4.92s, 2475 queries (+2475 extra)
2024-11-21 17:26:21 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"."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"."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"."l10n_pe_group_id", "aml"."tax_settlement_move_id", "aml"."tax_state", "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,
        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
                                                 ^
2024-11-21 17:26:21 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 391, 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 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 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 939, 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 771, 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 405, 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()'
2024-11-21 21:04:04 INFO runbot Kill build 93737-17-0