[12.0]Return to the letter channel while an email exists in the invoiced contact
Return to the letter channel while an email exists in the invoiced contact.
Module
OCA-credit-control
Describe the bug
After launching a "Run", the channel assigned to the lines fallback to letter, even though an email address exists in the invoiced contact. It would appear that the algorithm only takes into account the email address of the contact and not of the invoiced party.
To Reproduce
Version 12.0:
Steps to reproduce the behavior:
- Go to Invoicing
- In Credit control, configure your "Runs"
- Run channel action
- If exist email in partner, Communication Line is create
- If not existing email in partner, fallback to letter channel and no more communication line is create
Expected behavior Take mail in invoice or partner invoice to keep email channel in result line of "Runs" and fallback in letter channel, if not email existing in this two cases.
Additional context
Solution to take email from partner invoice https://github.com/OCA/credit-control/pull/353
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.