Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a field many2one relation to res.users like this : 'salesman':fields.many2one('res.users', string='Salesman').
I want default value it field is current user ID (current login) like Administrator, Custom User, etc. How to do it?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/22/14, 2:18 AM|
|Seen: 11567 times|
|Last updated: 6/7/17, 2:41 AM|