Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] delivery_gls_asm: Migration to 18.0 #4090

Open
wants to merge 48 commits into
base: 18.0
Choose a base branch
from

Conversation

arantxa-s73
Copy link
Contributor

@arantxa-s73 arantxa-s73 commented Mar 21, 2025

chienandalu and others added 30 commits March 21, 2025 11:48
[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/
Currently translated at 68.4% (93 of 136 strings)

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/es/
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
Currently translated at 98.5% (135 of 137 strings)

Translation: l10n-spain-13.0/l10n-spain-13.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-delivery_gls_asm/es/
Currently translated at 5.2% (7 of 134 strings)

Translation: l10n-spain-13.0/l10n-spain-13.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-delivery_gls_asm/ca/
Add field for GLS specific states, so the customer can have the same tracking and grouping
on Odoo as they have on the GLS interface
`res_country.phone_code` is an Integer field, thus it should not be
scaped.

TT33879
GLS ASM API has a limit of 15 characters for its reference so we should
avoid sequences longer than that if we want to avoid collisions.

TT33272

[UPD] Update delivery_gls_asm.pot

delivery_gls_asm 14.0.1.1.1

Update translation files

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

Translation: l10n-spain-14.0/l10n-spain-14.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-delivery_gls_asm/
Add error codes meaning and rearrange master data in an independent
file.

TT34458
When we deliver to some destinations, the mobile phone and the email
address turn into required fields. We try to fallback to the ones
informed in the commercial entity data.

TT34458

delivery_gls_asm 14.0.1.1.2

[UPD] Update delivery_gls_asm.pot

delivery_gls_asm 14.0.1.2.0

[UPD] Update delivery_gls_asm.pot

delivery_gls_asm 14.0.1.3.0
[UPD] Update delivery_gls_asm.pot
- If the manifest only comes with 1 delivery it is in form of a singular dict instead of a list of dicts and this causes issues when iterating in the XML

delivery_gls_asm 14.0.1.4.1
[UPD] README.rst

delivery_gls_asm 14.0.1.4.2
victoralmau and others added 18 commits March 21, 2025 11:48
Currently translated at 77.0% (144 of 187 strings)

Translation: l10n-spain-15.0/l10n-spain-15.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-delivery_gls_asm/es/
- Fix tests to declare packages explicitly
- Fix wrong keyword literals on errors

TT45144
Currently translated at 100.0% (189 of 189 strings)

Translation: l10n-spain-15.0/l10n-spain-15.0-delivery_gls_asm
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-delivery_gls_asm/es/
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
@arantxa-s73 arantxa-s73 force-pushed the 18.0-mig-delivery_gls_asm branch from 57e4a07 to f94cecf Compare March 21, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.