You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate that you have tried to make this legacy-compatible through line 273 in sales_order.py (def allocations...), but it seems that version 0.16.9 of InvenTree doesn't support the search parameter ?shipment=<id> , such that shp.allocations now returns all allocations, and no longer those specific to the shipment..
I always assumed that the inventree-python version was more-or-less independent of the InvenTree server version, and that the API version check would take care of discrepancies.
I appreciate that you have tried to make this legacy-compatible through line 273 in sales_order.py (
def allocations...
), but it seems that version 0.16.9 of InvenTree doesn't support the search parameter?shipment=<id>
, such thatshp.allocations
now returns all allocations, and no longer those specific to the shipment..I always assumed that the inventree-python version was more-or-less independent of the InvenTree server version, and that the API version check would take care of discrepancies.
PoC:
Using
inventree-python
onmaster
branch.Against demo server, the results are as expected:
Against my own server, running 0.16.9:
The list includes 202 items - whereas the shipment actually only has one allocation, as correctly contained in
shp._data['allocations
The text was updated successfully, but these errors were encountered: