Closed XiSigma closed 2 years ago
Hi, Please check in odoo, sale order with id 231, probably something is wrong there => odoo.exceptions.CacheMiss: 'sale.order(231,).paid_amount'
Hello @patricoos
var firstOrder = await ordersRepository.Query().Take(1).ToListAsync(); // this gets and 231 and it works fine
the exception only comes up when trying to get more than 1 order, and I made sure the error is not specific to a single order
I'm not a python specialist, often errors with querying the list is when, one of the records is damaged. Have you tried it in a different environment? There is something about cache in the error message, maybe look for something about it
@patricoos Just tested in another environment and it works fine, the cause of this is an addon, thank you for your time
Try use the select method on querybuilder to choose the properties you want to fetch, maybe that will help you
Trying to get SaleOrders using the following:
Any idea what might cause this? Thanks