i have custom module and i got the project name by using the below code :-
project_name = fields.many2one('project.project', string='Project Name')
and also got the project manager name by using the 'related' attribute like :-
project_manager = fields.Char(string='Project Manager', related='project_name.user_id)
and i need one more field that is Project Manager's email id automatically. How can i get the email id of the project manager of the selected project
Please help me to fix this
Odoo Customization Tips: https://learnopenerp.tumblr.com/
KeyError: 'user_id'
it means `user_id` field doesn't exist in the target model