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

T1985 : Correct missing analytic lines in new sponsorships #247

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

EliasGajo
Copy link
Contributor

No description provided.

Copy link

sonarcloud bot commented Nov 27, 2024

Comment on lines +447 to +449
open_invoice.mapped("invoice_line_ids").filtered(
lambda line: line.contract_id in contract_lines_to_inv.contract_id
).create_analytic_lines()
Copy link
Member

Choose a reason for hiding this comment

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

Why not this directly?

Suggested change
open_invoice.mapped("invoice_line_ids").filtered(
lambda line: line.contract_id in contract_lines_to_inv.contract_id
).create_analytic_lines()
contract_lines_to_inv.create_analytic_lines()

@ecino ecino merged commit f137564 into 14.0 Dec 3, 2024
2 checks passed
@ecino ecino deleted the T1985 branch December 3, 2024 14:24
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