Skip to content

Conversation

@florian-dacosta
Copy link
Contributor

No description provided.

@OCA-git-bot
Copy link
Contributor

Hi @mourad-ehm,
some modules you are maintaining are being modified, check this out!

Copy link

@PaulGoubert PaulGoubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@florian-dacosta florian-dacosta force-pushed the 16-ecotax-product-country branch 2 times, most recently from 1bf77bf to 578a321 Compare August 1, 2025 14:15
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.
@florian-dacosta florian-dacosta force-pushed the 16-ecotax-product-country branch from 578a321 to c482033 Compare August 8, 2025 10:22
@florian-dacosta florian-dacosta requested a review from hparfr August 8, 2025 10:23
Copy link

@hparfr hparfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@florian-dacosta florian-dacosta force-pushed the 16-ecotax-product-country branch from d5dcc4f to c482033 Compare August 8, 2025 12:16
@dreispt dreispt changed the title [16][IMP] Add ecotax only if it match shipping address country [16][IMP] account_ecotax: Add ecotax only if it match shipping address country Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants