0
2 Answers
0
Best Answer
Hi Ra_one_1_11,
There is already a compute field 'sale_order_count' in 'res.partner' which shows the number of SO created for the partner.
Please Check,
https://github.com/odoo/odoo/blob/15.0/addons/sale/models/res_partner.py
thank you kiran but this is not work for me