Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3522 Weergaven

I'm using with context like :

q = product.with_context({'location':location_id}).qty_available.


It updated the destination location BUT I want also the source location to be updated so if i want MAIN to adjustment, it will return the qty_available based on that location,


In the code above, it return the qty_available with destination of location_id which is the adjustment but the source is from all the location not just the main (other location: branch1,branch2,etc....),


How can I use the context further?So that it will return only the qty_available based on the location (Main(Source)->Adjustment(Dest))

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
sep. 20
3619
2
nov. 23
7712
1
mrt. 15
7431
0
mrt. 15
4124
0
nov. 23
1676