OCA / credit-control

Odoo modules for the customer credit control
GNU Affero General Public License v3.0
74 stars 197 forks source link

account_invoice_overdue_reminder : modifiing "invoicing contact" resets to zero the Total Residual in (currency) (BUG) #378

Open LESTRAT21 opened 5 months ago

LESTRAT21 commented 5 months ago

general summary of the issue

When you want to remind your customer, by mail, for his invoices that are overdue, you use the "Overdue Invoice Step" and you choose the "invoicing contact". If your contact has several related contact and you select one of them, the total residual is reset to zero. It should not be modified.

Module

invoice_overdue_remider

Describe the bug

look at the following video : https://www.loom.com/share/f0d827c7d1944bfa9e172c38336205c7?sid=1d18bdb7-e95e-4494-839c-9279062dc33c

To Reproduce

V14 The bug is not present in V16

Steps to reproduce the behavior:

  1. Invoicing / Customers / Overdue Invoice Remind
  2. Select your customer (it must be one with attached contacts) / Start
  3. Change the invoicing contact (to select another e-mail for example)
  4. In the e-mail below, the total residual is reset to zero.

Expected behavior the total residual should not be reset to zero.

thomich commented 4 months ago

seams lot of changes from 14 to 15 also:

account_invoice_overdue_reminder.tar.gz