Commit: adhoc-cicd-oca-pos1:9bf8923f  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: ingadhoc-ingadhoc-odoo-saas-adhoc2:2810bad4  
Subject: [IMP] saas_provider_upgrade: Add ULs dependencies
Author: Joaquin Arroyo
Committer: Joaquin Arroyo
Commit: ingadhoc-account-payment:4945a4e4  
Subject: [FIX] account_cashbox: Remove obsolete unique constraint from account_cashbox_session due to new constraint added in https://github.com/ingadhoc/account-payment/commit/db574bf536e815d10221859924381e4a3a86af4d#diff-fd2084468cbef678a2cb52e2257b09797d716c4ef6031d237b29f544ff6c0d77L40
Author: Rocío Vega
Committer: Rocío Vega
Commit: ingadhoc-sale:dadc156d  
Subject: [FIX] sale_gathering: fix invoice in 0 discounting gathering
Author: Franco Leyes
Committer: Franco Leyes
Commit: ingadhoc-enterprise-extensions:4231f4ea  
Subject: [FIX] l10n_cl_edi_factoring: Pisabamos el invisible del campo
Author: Maximiliano Mezzavilla
Committer: Maximiliano Mezzavilla
Commit: ingadhoc-website:32c40c4a  
Subject: [MIG] facebook_pixel_tracking: Migration to 17.0
Author: docker-odoo
Committer: cem-adhoc
Commit: ingadhoc-stock:795ab383  
Subject: [FIX]stock_ux: number_of_packages user error trans
Author: mav-adhoc
Committer: mav-adhoc
Commit: ingadhoc-account-financial-tools:63acdeb9  
Subject: [IMP] account_ux: improve usability to not allow to try to change amount_currency field when register a payment
Author: Rocío Vega
Committer: Rocío Vega
Commit: ingadhoc-odoo-argentina:107bc1f3  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-delivery:a6a6c23d  
Subject: [IMP]delivery_andreani: set prod endpoint for rate req
Author: Alexis Lopez
Committer: Alexis Lopez
Commit: ingadhoc-multi-company:d3014489  
Subject: [REM] payment_multic_ux: mig script
Author: augusto-weiss
Committer: augusto-weiss
Commit: ingadhoc-purchase:a22d46da  
Subject: [IMP] purchase_stock_ux: add tests to v17
Author: Celina Devigili
Committer: Celina Devigili
Commit: ingadhoc-argentina-sale:e6b11292  
Subject: [IMP]l10n_ar_stock: auto-install stuff
Author: Juan Ignacio Carreras
Committer: Juan José Scarafia
Commit: ingadhoc-odoo-argentina-ee:509bf94b  
Subject: [FIX] l10n_ar_account_tax_settlement: las percepciones en notas de débito las informamos sin letra.
Author: Pablo Montenegro
Committer: Pablo Montenegro
Commit: ingadhoc-project:3ee0bb39  
Subject: [TEST]project_ux: tests 17.0
Author: mav-adhoc
Committer: mav-adhoc
Commit: ingadhoc-miscellaneous:86014810  
Subject: [ADD]portal_backend_calendar: calendar access rule
Author: Matias Peralta
Committer: Matias Peralta
Commit: plugberry-payment:9715d63c  
Subject: Merge pull request #44 from plugberry/17.0-t-39274
Author: augusto-weiss
Committer: GitHub
Commit: ingadhoc-ingadhoc-odoo-saas:18662321  
Subject: [FIX] saas_provider: fix _publish_msg_on_channel
Author: “Virginia
Committer: Juan José Scarafía
Commit: ingadhoc-aeroo_reports:becc098f  
Subject: [FIX] report_aeroo: increased sequence for compatibility with other modules
Author: Franco Leyes
Committer: Juan José Scarafía
Commit: ingadhoc-product:e9ad2e57  
Subject: [ADD] product_catalog_tree: new module
Author: Bruno Zanotti
Committer: Juan Carreras
Commit: ingadhoc-partner:a99ea8e2  
Subject: [FIX] partner_internal_code: display_name change name in v17
Author: mav-adhoc
Committer: mav-adhoc
Commit: ingadhoc-uruguay:60cda728  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-third-party-apps:2184c0bf  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-hr:33dfbfc0  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: ingadhoc-account-invoicing:af43b31e  
Subject: [I18N] Update translation terms from Transifex adhoc-odoo-17-0
Author: ADHOC - Bot
Committer: ADHOC - Bot
Commit: plugberry-pagos360:e5dfc675  
Subject: [MIG] payment_pagos360: Migration to 17.0
Author: augusto-weiss
Committer: augusto-weiss
Commit: ingadhoc-multi-store:05249581  
Subject: [REF] _pay_pro_multi_store: refactor + finish migration
Author: Juan José Scarafia
Committer: Juan José Scarafia
Commit: plugberry-mercadopago:d917a7f6  
Subject: [IMP] Fix Refund method
Author: Martin Quinteros
Committer: Martin Quinteros
Commit: adhoc-cicd-oca-knowledge:2853b873  
Subject: Translated using Weblate (Catalan)
Author: Esteve Blanch Sanmartí
Committer: Weblate
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:db3350d4  
Subject: Merge commit 'refs/pull/59150/head' of https://github.com/odoo/enterprise into 17.0-9257
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-camptocamp-odoo-cloud-platform:471fe15b  
Subject: Merge pull request #464 from xcgd/17.0-session_redis-fix-vacuum
Author: Alexandre Fayolle
Committer: GitHub
Commit: adhoc-cicd-oca-account-reconcile:0a23778a  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-purchase-workflow:76efed5a  
Subject: Merge commit 'refs/pull/2213/head' of https://github.com/oca/purchase-workflow into 17.0-9242
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-server-tools:37ff5a59  
Subject: Merge commit 'refs/pull/2831/head' of https://github.com/oca/server-tools into 17.0-9195
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-availability:51e6bfc3  
Subject: Merge commit 'refs/pull/19/head' of https://github.com/oca/stock-logistics-availability into 17.0-9227
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-survey:96d2f4d5  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
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:66027fdb  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-manufacture:ebaa30a1  
Subject: Translated using Weblate (German)
Author: jans23
Committer: Weblate
Commit: adhoc-cicd-odoo-design-themes:e28a4360  
Subject: [I18N] Update translation terms from Transifex
Author: Odoo Translation Bot
Committer: Odoo Translation Bot
Commit: adhoc-cicd-oca-account-analytic:58ffc6eb  
Subject: Merge commit 'refs/pull/627/head' of https://github.com/oca/account-analytic into 17.0-9141
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-server-auth:d84b3736  
Subject: Merge commit 'refs/pull/605/head' of https://github.com/oca/server-auth into 17.0-9193
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-workflow:24b8f5cd  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-server-ux:f7d7a394  
Subject: Merge commit 'refs/pull/868/head' of https://github.com/oca/server-ux into 17.0-9243
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-account-invoicing:8d525e8b  
Subject: Merge commit 'refs/pull/1630/head' of https://github.com/oca/account-invoicing into 17.0-9182
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-sale-workflow:680a01e2  
Subject: Merge commit 'refs/pull/3046/head' of https://github.com/oca/sale-workflow into 17.0-9192
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-social:ed82ad59  
Subject: Translated using Weblate (Portuguese)
Author: Pedro Castro Silva
Committer: Weblate
Commit: adhoc-cicd-oca-l10n-spain:32620199  
Subject: Update translation files
Author: Weblate
Committer: Weblate
Commit: adhoc-cicd-oca-brand:bd71ab17  
Subject: Translated using Weblate (Spanish (Argentina))
Author: Ignacio Buioli
Committer: Weblate
Commit: adhoc-cicd-oca-stock-logistics-warehouse:f694f736  
Subject: Merge commit 'refs/pull/1973/head' of https://github.com/oca/stock-logistics-warehouse into 17.0-9197
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-timesheet:e7c7d737  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-project:3d477efa  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-product-pack:07e82e36  
Subject: Merge commit 'refs/pull/157/head' of https://github.com/oca/product-pack into 17.0-9189
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-bank-statement-import:bf80a2ff  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-e-commerce:db6cb520  
Subject: Merge commit 'refs/pull/925/head' of https://github.com/oca/e-commerce into 17.0-9240
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-stock-logistics-request:437cf468  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-crm:1c517754  
Subject: Translated using Weblate (Portuguese (Brazil))
Author: Rodrigo Sottomaior Macedo
Committer: Weblate
Commit: adhoc-cicd-oca-partner-contact:546003e1  
Subject: Translated using Weblate (Catalan)
Author: Esteve Blanch Sanmartí
Committer: Weblate
Commit: adhoc-cicd-oca-web:424bee44  
Subject: Merge commit 'refs/pull/2704/head' of https://github.com/oca/web into 17.0-9229
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-mis-builder:7974ba49  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-management-system:cc8c9410  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-hr-expense:38e6859c  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-oca-product-attribute:d3693420  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: adhoc-cicd-odoo-odoo:546a69af  
Subject: Merge commit 'refs/pull/141938/head' of https://github.com/odoo/odoo into 17.0-9244
Author: docker-odoo
Committer: docker-odoo
Commit: adhoc-cicd-oca-hr-holidays:0677b1ca  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: adhoc-cicd-oca-reporting-engine:2476e583  
Subject: Translated using Weblate (Spanish (Argentina))
Author: Ignacio Buioli
Committer: Weblate
Version: 17.0
Config: R- modified-modules
Total time: 0s
Date Level Type Message
2024-09-23 18:39:42 INFO runbot Init build environment with config R- modified-modules
2024-09-23 18:39:42 Starting step runbot-modified-modules from config R- modified-modules
2024-09-23 18:39:42 ERROR runbot
77115-17-0 failed running step runbot-modified-modules:
 <class 'TypeError'>: "sequence item 7: expected str instance, bool found" while evaluating
'# solo usamos las new porque head tendria todos los repos si es una rebuild y no queremos forzar tantas subbuilds
# ['new', 'head']
commit_links = build.params_id.commit_link_ids.filtered(lambda x: x.match_type in ['new'])
modules = []
# SI bien esta logica funciona, como esta hecho:
# 1. es complejo
# 2. se fija contra el ultimo commit mezclado en rama principal pero puede ser que el PR no este rebaseado y en realidad nosotros queremos testear lo que estamos viendo en el PR
# batch = build.params_id.create_batch_id
# last_base_batch = self.env['runbot.batch'].search([('bundle_id', '=', batch.bundle_id.base_id.id), ('state', '!=', 'preparing'), ('category_id', '=', batch.category_id.id), ('id', '!=', batch.id)], order='id desc', limit=1)
# base_head_per_repo = {commit.repo_id.id: commit for commit in last_base_batch.commit_ids}
# for commit in commit_links.mapped('commit_id'):
#   # modules += [x[1] for x in commit._get_available_modules()]
#   base_head = base_head_per_repo.get(commit.repo_id.id)
#   merge_base_sha = commit.repo_id._git(['merge-base', commit.name, base_head.name]).strip()
#   diff = commit.repo_id._git(['diff', '--numstat', merge_base_sha, commit.name]).strip()
for commit_link in commit_links:
  commit = commit_link.commit_id
  # este no lo usamos por que tienen que approach no lo usamos por que tenian un problema si no estaba rebeseado el PR y aprecian otros modulos ademas
  # del modulo que se modificaba
  # diff = commit.repo_id._git(['diff', '--numstat', commit_link.base_commit_id.name, commit.name]).strip() 
  # for line in diff.split('\
'):
  #   # result = re.search(r'\\t.(.*)\\/', line)
  #   # si lo definos como "r" no hace falta escapear
  #   result = re.search(r'(\\t.\\t)(.*?)/', line)
  #   if result:
  #     # result = re.search('(\\\\t.\\\\t)(.*?)\\/', line)
  #     # TODO ver si la regex podemos hacer que saque el \\t directamente (es un tab)
  #     modules.append(result.group(2))
  # agregamos para que erl diff lo haga contra merge_base_commit_id para casos donde un PR tiene mas de un commit
  # diff = commit.repo_id._git(['diff-tree', '--name-only','--no-commit-id' ,'-r', commit.name]).strip()
  diff = commit.repo_id._git(['diff-tree', '--name-only','--no-commit-id' ,'-r' , commit_link.merge_base_commit_id.name, commit.name]).strip()
  # for file in diff.split('\
'):
  #   modules.append(file.split('/')[0])
  # modules = list(set(modules))
  for file in diff.split('\
'):
    if "/" in file:
      modules.append(file.split('/')[0])
  modules = list(set(modules))
for module in modules:
  # ya no es necesario este filtro porque ahora vemos solo los diff que son dir (con "/" in file)
  # a priori este if podria no ser necesario ya que en este repo todos los modulos son de personalizacion
  # salvo que module pueda ser un modulo moficiado en otro commit de otro repo?
  # if module == 'odoo' or module == 'addons' or module.startswith('.'):
  #   continue
  build._log('', 'Creando sub build para %s' % module)
  # self._run_create_build(build, )
  # def _add_child(self, param_values, orphan=False, description=False, additionnal_commit_links=False):
  # build._add_child({'upgrade_to_build_id': target_build.id})
  param_values = {
    # 'upgrade_to_build_id': target.id,
    # 'upgrade_from_build_id': build,  # always current build
    # 'dump_db': db.id,
    # config id 13 es el que usamos hoy en per v15
    # TODO tal vez debería ser 13 o 12 según modulo que se esté modificando
    'config_id': 13,
    'modules': '-*,%s' % module,
  }
  child = build._add_child(param_values)
  child.write({'description': module})
  # child._log
if not modules:
  build._log('', 'No encontramos nuevos commits o modulos modificados para crear subbuilds')'
2024-09-23 18:39:42 INFO runbot Kill build 77115-17-0