[19.0][MIG] l10n_it_edi_doi_extension: Migration to 19.0#5082
Open
Borruso wants to merge 7 commits into
Open
Conversation
Currently translated at 100.0% (29 of 29 strings) Translation: l10n-italy-18.0/l10n-italy-18.0-l10n_it_edi_doi_extension Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_edi_doi_extension/it/
Member
|
/ocabot migration l10n_it_edi_doi_extension |
d8acec2 to
3368826
Compare
4801b22 to
8dab4bf
Compare
micheledic
suggested changes
Jun 12, 2026
| if not doi_tax: | ||
| continue | ||
| declaration_tax_lines = order.order_line.filtered( | ||
| lambda line, doi_tax=doi_tax: doi_tax in line.taxes_id |
Contributor
There was a problem hiding this comment.
il campo si chiama tax_ids non esiste più taxes_id
| doi_tax.name, | ||
| ), | ||
| ) | ||
| if any(line.taxes_id != doi_tax for line in declaration_tax_lines): |
Contributor
There was a problem hiding this comment.
il campo su 19.0 è tax_ids non più taxes_id
| continue | ||
|
|
||
| order_lines = order.order_line.filtered( | ||
| lambda line: line.taxes_id.ids == tax.ids |
Contributor
There was a problem hiding this comment.
come sopra, il campo è tax_ids
micheledic
suggested changes
Jun 12, 2026
| order.l10n_it_edi_doi_warning = "" | ||
| declaration = order.l10n_it_edi_doi_id | ||
|
|
||
| show_warning = declaration and order.state != "cancelled" |
Contributor
There was a problem hiding this comment.
lo stato sul po è cancel non più cancelled
Contributor
|
io proporrei di aggiungere a questa PR anche delle migration per portare le vecchie doi al nativo |
…ntent support and access control
…her taxes This PR is created to accept other taxes than DOI(for example inarcassa) removed also on odoo core odoo/odoo@b88caf8
8dab4bf to
810aea6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#4930