Skip to content

[19.0][MIG] delivery_gls_asm: Migration to 19.0 - #4685

Open
RicardCForgeFlow wants to merge 47 commits into
OCA:19.0from
ForgeFlow:19.0-mig-delivery_gls_asm
Open

[19.0][MIG] delivery_gls_asm: Migration to 19.0#4685
RicardCForgeFlow wants to merge 47 commits into
OCA:19.0from
ForgeFlow:19.0-mig-delivery_gls_asm

Conversation

@RicardCForgeFlow

@RicardCForgeFlow RicardCForgeFlow commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

Se ha añadido tests. En el modo de pruebas, la cancelación de pickup devuelve el Error Desconocido -204. (Método _cancel_pickup) Esto no sé si es debido a estar en modo prueba o también ocurre en entornos de producción.

@ForgeFlow

@RicardCForgeFlow RicardCForgeFlow mentioned this pull request Dec 30, 2025
40 tasks
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as ready for review December 30, 2025 13:08
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration delivery_gls_asm

A revisar CI.

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Dec 30, 2025
@RicardCForgeFlow RicardCForgeFlow changed the title [19.0][MIG] delivery_gls_asm [19.0][MIG] delivery_gls_asm: Migration to 19.0 Dec 31, 2025
@RicardCForgeFlow
RicardCForgeFlow force-pushed the 19.0-mig-delivery_gls_asm branch 2 times, most recently from a2d86a3 to e3cc89c Compare December 31, 2025 09:08
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as draft December 31, 2025 09:47
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as ready for review December 31, 2025 11:30
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as draft December 31, 2025 11:56
@RicardCForgeFlow
RicardCForgeFlow force-pushed the 19.0-mig-delivery_gls_asm branch 2 times, most recently from 342b823 to f6a8224 Compare January 2, 2026 11:02
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as ready for review January 2, 2026 11:07
Comment thread delivery_gls_asm/models/delivery_carrier.py
# make the expedition. Try to fallback to the commercial entity one
"destinatario_telefono": consignee.phone or consignee_entity.phone or "",
"destinatario_movil": consignee.mobile or consignee_entity.mobile or "",
"destinatario_movil": "",

@Alexgars73 Alexgars73 Feb 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pienso que este cambio no es correcto realizando la prueba, hay veces que salta error que el móvil del destinatario es un campo obligatorio.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vaya 😞 ! Ponemos el campo phone entonces?

En Odoo 19 han borrado el campo mobile (bastantes quejas por lo que veo):
odoo/odoo@6b820eb
odoo/odoo#189739

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chienandalu and others added 12 commits February 23, 2026 18:38
[UPD] Update delivery_gls_asm.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-12.0/l10n-spain-12.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-delivery_gls_asm/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-12.0/l10n-spain-12.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-delivery_gls_asm/
Non implemented methods should raise informative exceptions if used

[UPD] Update delivery_gls_asm.pot

delivery_gls_asm 12.0.1.0.1

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-12.0/l10n-spain-12.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-delivery_gls_asm/
delivery_gls_asm 12.0.1.0.2
The `cliente` key corresponds to the company not to the customer, wich
is `nombre_dst`

delivery_gls_asm 12.0.1.0.3
Alhough it will raise another exception, at least it will show the
proper message and not a traceback.
Ensure that the values sent to the xml soap request are properly
escaped. A partner name like "Johnson & Johnson" would fail otherwise.
[UPD] Update delivery_gls_asm.pot

[UPD] README.rst
Ethan Hildick and others added 11 commits February 23, 2026 18:38
New shipping times and renaming of some of them by GLS

TT48760
Check the actual value that is being sent to GLS, since it doesn't make sense to error for 15 characters when the value you would send doesn't actually exceed that limit
My use case is that we have some clients that deliver a whole stock.picking.batch instead of stock.picking individually,
therefore the reference we use is the batch's name (overwritten through _prepare_gls_asm_shipping).
This started erroring when the picking reference reached 16 characters while the batch reference is still only 10
Main github account has been renamed, the previous one now only exists as a redirect. Changing to receive notifications correctly
@RicardCForgeFlow
RicardCForgeFlow force-pushed the 19.0-mig-delivery_gls_asm branch from 65b4c50 to 9b1219f Compare February 23, 2026 17:39
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as draft February 23, 2026 17:45
@RicardCForgeFlow
RicardCForgeFlow force-pushed the 19.0-mig-delivery_gls_asm branch 2 times, most recently from 6dcb2e5 to dbf7edd Compare February 23, 2026 17:53

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por favor, no lo hagáis depender de partner_mobile. Eso me parece un despropósito y forzar a la gente a instalar un módulo que a lo mejor no quiere. Utilizad phone, o como mucho, si queréis detectar dinámicamente si existe el campo mobile, utilizar ése (if "mobile" in self.partner_id).

@RicardCForgeFlow
RicardCForgeFlow force-pushed the 19.0-mig-delivery_gls_asm branch from dbf7edd to 319cc3b Compare February 24, 2026 08:07
@RicardCForgeFlow
RicardCForgeFlow marked this pull request as ready for review February 24, 2026 08:12
@RicardCForgeFlow

Copy link
Copy Markdown
Contributor Author

Por favor, no lo hagáis depender de partner_mobile. Eso me parece un despropósito y forzar a la gente a instalar un módulo que a lo mejor no quiere. Utilizad phone, o como mucho, si queréis detectar dinámicamente si existe el campo mobile, utilizar ése (if "mobile" in self.partner_id).

Okay! He añadido el if "mobile" in self.partner_id y quitado la dependencia de partner_mobile. Queda el codigo menos limpio, pero creo que vale la pena ganar la precisión en caso de que alguien tenga el campo mobile

@Reyes4711-S73 Reyes4711-S73 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carlos-lopez-tecnativa

Copy link
Copy Markdown
Contributor

Por favor incluir #4782 #4873 #4900

@RicardCForgeFlow

Copy link
Copy Markdown
Contributor Author

Por favor incluir #4782 #4873 #4900

Hola @carlos-lopez-tecnativa, ¿podrías hacer el forward-port a la 19.0 de estas PR?
OCA/delivery-carrier#1107
OCA/delivery-carrier#1108
OCA/delivery-carrier#1124

¡Gracias!

@carlos-lopez-tecnativa

Copy link
Copy Markdown
Contributor

Por favor incluir #4782 #4873 #4900

Hola @carlos-lopez-tecnativa, ¿podrías hacer el forward-port a la 19.0 de estas PR? OCA/delivery-carrier#1107 OCA/delivery-carrier#1108 OCA/delivery-carrier#1124

¡Gracias!

Hecho en OCA/delivery-carrier#1195

@carlos-lopez-tecnativa

carlos-lopez-tecnativa commented May 28, 2026

Copy link
Copy Markdown
Contributor

@RicardCForgeFlow también incluir #5017

Edit: me parece que esta cubierto en cc5298a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.