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.
|2022-09-05 15:13:24||acaubet||set||messageid: <1662383604.477358.2GU44MLTV4LKMFJ5.email@example.com>|
|2022-09-05 15:13:24||acaubet||set||recipients: + ced|
|2022-09-05 15:13:24||acaubet||link||issue11685 messages|
Showing 10 items. Show all history (warning: this could be VERY long)