-
-
Notifications
You must be signed in to change notification settings - Fork 232
[17.0][FIX] account_credit_control: correctly update control lines status #468
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
Conversation
The root tag for the message could be a span in certain cases, so these are excluded from the check. The email_from is defined in the template, so it should be set on the company to be able to send it.
| for comm in self: | ||
| comm.message_mail_with_source( | ||
| # in mass_mail mode, the subtype is dropped, which is used by the | ||
| # postprocessing that marks control lines as sent.lines |
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.
| # postprocessing that marks control lines as sent.lines | |
| # postprocessing that marks control lines as sent lines |
| ) | ||
| comm.credit_control_line_ids.filtered( | ||
| lambda line: line.state == "queued" | ||
| ).state = "sent" |
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.
So where is this done?
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 think this was answered in #447
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.
Please relaunch it for merging the patch, as now it's not possible to reopen the PR.
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.
Rebased version in #542
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
No description provided.