Replies: 1 comment
-
Unfortunately odoo doesn't support including. You have to do direct queries for each of the tables |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have this query
var stockRepo = new OdooRepository(_odooClient);
var onlyStockLocs = await stockRepo.Query()
.Where(s => s.LocationId, OdooOperator.In, _stockLocations)
.Where(s => s.LastUpdate, OdooOperator.GreaterThanOrEqualTo, since)
.ToListAsync();
In the result i get the ProductId and LocationId. Is there any support for creating queries to include the Product and Location in the result, or do I have to make specific queries for the products and locations?
Klaus
Beta Was this translation helpful? Give feedback.
All reactions