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

[16.0][BUG] l10n_it_edi: l10n_it_kind_exoneration not cleared after disable flag l10n_it_has_exoneration on account.tax #165910

Open
1 of 4 tasks
salvorapi opened this issue May 17, 2024 · 0 comments

Comments

@salvorapi
Copy link
Contributor

salvorapi commented May 17, 2024

Odoo Version

  • 15.0
  • 16.0
  • 17.0
  • Other (specify)

Steps to Reproduce

DNo2O6I84D

This behavior reflect to the import process of vendor electronic invoices because with this line of code:

conditions = (
l10n_it_kind_exoneration and [('l10n_it_kind_exoneration', '=', l10n_it_kind_exoneration)]
or [('l10n_it_has_exoneration', '=', False)]

Because the domain definition try to search the first value l10n_it_kind_exoneration but without check the value of l10n_it_has_exoneration flag.

@lordkrandel

Log Output

No response

Support Ticket

No response

@salvorapi salvorapi changed the title [16.0] l10n_it_edi: l10n_it_kind_exoneration not cleared after disable flag l10n_it_has_exoneration on account.tax [16.0][BUG] l10n_it_edi: l10n_it_kind_exoneration not cleared after disable flag l10n_it_has_exoneration on account.tax May 17, 2024
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

No branches or pull requests

1 participant