Issue 10038

Title
EC sales list with cancelled invoice
Priority
bug
Status
unread
Superseder
Do not ignore invoice cancelled by a credit note (issue 10030)
Nosy list
ced
Assigned to
Keywords

Created on 2021-01-29.00:19:47 by ced, last changed 8 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-01-29.00:19:47

Those report are based on posted customer invoice. Normally it is forbidden to cancel a posted customer invoice but this can be overruled with a company switch. The account_es module is then ignoring those invoices. But I do not think it is the correct way to do because if the cancel happens in a different period the reports are no more coherent.
Indeed I think we should add inverted amounts for each canceled invoice at the date of the canceled move. So if the cancellation happen during the same period, this has the same effect as ignoring the invoice and if it is on two different period, this correctly balance both reports.

History
Date User Action Args
2021-01-29 00:19:47cedcreate