Tryton - Issues

 

Issue7682

Title Set cancel state on refunded invoice
Priority feature Status testing
Superseder Nosy List Timitos, ced, reviewbot
Type feature request Components account_invoice
Assigned To ced Keywords review
Reviews 48581002
View: 48581002

Created on 2018-09-06.12:15:28 by ced, last changed by reviewbot.

Messages
review48581002 updated at https://codereview.tryton.org/48581002/#ps1
msg43740 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-09-06.12:15:28
There are a scenario which is not very good. If a sale is set to ship on invoice paid and that the posted invoice is refund with a credit note. In this case, the invoice is marked as paid and so the sale will create the shipment instead of being in invoice exception.
So I think we could set the state of the invoice when refunded to cancel. For the accounting it does not change anything as the moves are still the same. Also the canceled invoice can not be deleted as it has a number.
History
Date User Action Args
2018-09-06 15:33:46reviewbotsetnosy: + reviewbot
messages: + msg43745
2018-09-06 15:19:44cedsetstatus: in-progress -> testing
reviews: 48581002
keyword: + review
2018-09-06 12:29:15Timitossetnosy: + Timitos
2018-09-06 12:15:28cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)