Message 77883

Author
acaubet
Date
2022-09-05.15:13:24
Message id
77883

Content

The normal workflow works well, so you can create a sale and the generated invoice will be grouped.
But If you try to delete all draft invoices so Tryton can recompute the grouping, it fails (generating the invoices without any grouping), because he can not find any invoice in draft.
This happens since rev/b556db5559b3. As the invoices are not saved in each invoice creation.
The trick for now is to delete all invoices except 1 invoice, so Tryton can find one to group for.
Don't know if this is the desired behaviour, because previously you can be lazzy by deleting all invoices (maybe having parties having grouping and ones that don't) and forget about grouping, after processing you can proceed with the result. But now you need to search through the list selecting the ones you want to delete to regroup.

History
Date User Action Args
2022-09-05 15:13:24acaubetsetmessageid: <1662383604.477358.2GU44MLTV4LKMFJ5.issue11685@tryton.org>
2022-09-05 15:13:24acaubetsetrecipients: + ced
2022-09-05 15:13:24acaubetlinkissue11685 messages
2022-09-05 15:13:24acaubetcreate

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