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

[FIX] product_margin_classification: compute correctly fields in multi company context. #225

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

Conversation

legalsylvain
Copy link
Contributor

new computed and stored fields depends on standard_price that is company dependant. As a result, add a warning in the ROADMAP section, to explicit current module limitation. Ensure that computation is done in the context of the company of the product, to avoid to base computation on bad / null standard prices

…i company context.

new computed and stored fields depends on standard_price that is company dependant.
As a result, add a warning in the ROADMAP section, to explicit current module limitation.
Ensure that computation is done in the context of the company of the product, to avoid to base computation on bad / null standard prices
@@ -91,6 +91,11 @@ Known issues / Roadmap
due to the poor design of Odoo product module.
This issue can be maybe fixed in new version of Odoo.

* This module will not work for products that available on many
Copy link
Member

@rvalyi rvalyi Jan 8, 2025

Choose a reason for hiding this comment

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

s/that available/that are available/
s/on many/in several/

Copy link
Member

@rvalyi rvalyi left a comment

Choose a reason for hiding this comment

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

LGTM, but English to fix

* This module will not work for products that available on many
companies, because this module introduces stored fields, that can
not be company dependant, and the fields depends on ``standard_price``
that is company dependant.
Copy link
Member

Choose a reason for hiding this comment

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

s/dependant/dependent/

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

Successfully merging this pull request may close these issues.

2 participants