Hi all. Like the title said, I am struggling to make the field delivery_count in sale.order become stored in the database without having to change in the default addon. Basically, I have a class inheriting procurement.group and one of the value I need is:
sale_quotationIDs = self.env['sale.order'].search([('delivery_count', '>', 0)]).mapped('id')
However, the value returns error because the delivery_count field is not stored. If you have any idea how to do so, please let me know. I would really appreciate your help and many thanks in advance.
Thank you