Hello Haris Masqati,
There are 2 ways to do this.
1) you can create record rule for project.project model with
Rule Definition (Domain Filter) = [('user_id', '=', user.id)]
This will be applicable for every where in system for project model.
2) if this requirement is only for purticular model where this many2one of project is available then you can apply domain on form view of that model for project_id(m2o) field.
- < field name ="project_id" domain="[('user_id', '=', uid)]"/>
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015