Allow configuring which quantity is grouped in compute_quantities_query()
compute_quantities_query() is already very flexible but it would be great if it was possible to define which quantity field should be used in the aggregation.
For a customer module we had to add a second quantity field in stock moves, so this feature would allow us to reuse compute_quantities_query() instead of copy&pasting it.
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
unnamed | @albertca | 2018-10-23 09:12:26.895000 UTC | text/plain |
unnamed | @albertca | 2018-10-23 11:03:07.925000 UTC | text/plain |