OCA / credit-control

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

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

Open LESTRAT21 opened 6 months ago

LESTRAT21 commented 6 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 6 months ago

seams lot of changes from 14 to 15 also:

account_invoice_overdue_reminder.tar.gz

github-actions[bot] commented 2 days ago

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.

matthieusaison commented 18 hours ago

I propose this fix : https://github.com/OCA/credit-control/pull/406