-
-
Notifications
You must be signed in to change notification settings - Fork 226
[18.0][IMP] account_credit_control - multi-channel policies #488
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
0ed05a7 to
c5b6bbb
Compare
b0f32b8 to
9192aac
Compare
qgroulard
left a comment
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.
Great addition 👍
Multi-channel seems to be a really common need to me (already supported by Odoo Follow-Up btw).
I like this simple solution.
| ) | ||
| channel = fields.Selection( | ||
| selection=CHANNEL_LIST, | ||
| required=True, |
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 lose this required, I guess we should add a check to make sure that at least one channel field is True.
69bb64b to
f3621fc
Compare
|
Fixed tests by taking in account |
f3621fc to
db09068
Compare
db09068 to
ee4d8be
Compare
baimont
left a comment
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.
nice pr, a small fix to make tests pass
Adds the possibility to send reminders via multiple channels for the same level. For instance you can send you reminders both by email and letter.
9958193 to
d4624d7
Compare
|
Tests to be fixed |
067a600 to
da4eba2
Compare
…hannel [IMP] account_credit_control: multi-channel policies migration script
(superseeded by #522 )
Adds the possibility to send reminders via multiple channels for the same level.
Sometimes you want to send reminders on multiple channels at the same time for instance send an email as well as sending a letter on high policy level.
This adds a checkbox for each channel.
Adding a new channel must be done by adding the following fields:
channel_<name>on bothcredit.control.lineandcredit.control.policy<name>_sentoncredit.control.lineLine is updated to
sentonly after all selected channels have been processed. It is still possible to force the manually the state to sent to settle the line.Policy level:
Credit control line:
TODO: