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

[14.0][FIX][sale_financial_risk] compute of risk_sale_order write on commercial partner #417

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

Conversation

Kev-Roche
Copy link

@Kev-Roche Kev-Roche commented Jan 9, 2025

Compute of risk_sale_order write on commercial_partner_id, not on self.
cc @sebastienbeau , @alexis-via

@@ -26,7 +26,7 @@ def _get_risk_sale_order_domain(self):
risk_states = self.env["sale.order"]._get_risk_states()
return self._get_risk_company_domain() + [
("state", "in", risk_states),
("risk_partner_id", "in", self.mapped("commercial_partner_id").ids),
("risk_partner_id", "in", self.ids),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain the problem this PR is trying to solve and the steps to reproduce it?
Thanks

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