-
-
Notifications
You must be signed in to change notification settings - Fork 349
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][MIG]sale_stock_analytic #616
base: 16.0
Are you sure you want to change the base?
Conversation
sol_id = move_values.get("sale_line_id", False) | ||
if sol_id: | ||
sol_model = self.env["sale.order.line"] | ||
sol = sol_model.browse(sol_id) |
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.
We should consider the case where the analytic account is at the sale order level. In that case, we have to take the sale order analytic account on every line of the stock move
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.
I did a PR on your branch
DynAppsNV#2
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.
I don't think we have to do this. Passing analytic_distribution
to stock move is enough.
No description provided.