-
-
Notifications
You must be signed in to change notification settings - Fork 204
[16][IMP] account_ecotax: Add ecotax only if it match shipping address country #501
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
base: 16.0
Are you sure you want to change the base?
Conversation
|
Hi @mourad-ehm, |
32f32b1 to
facc9cc
Compare
PaulGoubert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This PR has the |
1bf77bf to
578a321
Compare
computing the product ecotax passing partner country in context does not work well because sometimes we cant have the country passed. For example in account.move.line._compute_totals, sometimes we do not have the context and the tax is wrongly computed because of an empty ecotax amount. Refactore to set or not the ecotax tax on the sale/invoice line depending on the country. It is more limited because it means than a same product can only have classification for a same set of country, but it is more reliable.
578a321 to
c482033
Compare
hparfr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d5dcc4f to
c482033
Compare
No description provided.