Skip to content

[FW][FIX] l10n_latam_invoice_document: Avoid recomputing latam document type #208123

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

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Apr 30, 2025

At the moment, whenever the partner is changed on an invoice, the l10n_latam_document_type_id field is recomputed and re-set to the default value corresponding to the partner and invoice type.

We don't want this to happen if the existing l10n_latam_document_type_id is already compatible with the new partner.

opw-4168385

Forward-Port-Of: #195581

At the moment, whenever the partner is changed on an invoice, the
l10n_latam_document_type_id field is recomputed and re-set to the
default value corresponding to the partner and invoice type.

We don't want this to happen if the existing l10n_latam_document_type_id
is already compatible with the new partner.

opw-4168385

X-original-commit: 66dfd1c
@robodoo
Copy link
Contributor

robodoo commented Apr 30, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Apr 30, 2025

@antoine162 @jco-odoo cherrypicking of pull request #195581 failed.

stdout:

Auto-merging addons/l10n_latam_invoice_document/models/account_move.py
CONFLICT (content): Merge conflict in addons/l10n_latam_invoice_document/models/account_move.py

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

⚠️ after resolving this conflict, you will need to merge it via @robodoo.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added forwardport This PR was created by @fw-bot conflict There was an error while creating this forward-port PR labels Apr 30, 2025
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflict There was an error while creating this forward-port PR forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants