Tryton - Issues



Title Access error for invoice with replaced party
Priority bug Status unread
Superseder Nosy List ced
Type behavior Components account_invoice_history
Assigned To Keywords

Created on 2020-05-06.00:14:26 by ced, last changed by ced.

msg57848 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-05-06.00:14:25
The party that is replaced on the invoice may not have been created before the numbered_at. So accessing it will raise an access error about record does not exist.

A possible solution would be to change the numbered_at but we will lose information.
Another option would be to *hack* the party read to use the replaced record.
Date User Action Args
2020-05-06 00:14:26cedcreate