Odoo Help

0

How to select the users'login instead users'name

By
CK
on 4/11/13, 12:20 AM 827 views

I know if you write the code :

'aa':fields.many2one('res.users','b',required=True),

,you can select the users'name.

But if I want to selece the users's login (field = login),how can i collect? I try to write like this :

'aa':fields.many2one('res.users.login','b',required=True),

But it also failure..

0
CK
On 4/11/13, 1:32 AM

Maybe I should write related? like :

'aa':fields.related('login', 'aa', type = 'many2one', ralation ='res.users', string= 'b', required=True),

But it can't work

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

Question tools

0 follower(s)

Stats

Asked: 4/11/13, 12:20 AM
Seen: 827 times
Last updated: 3/16/15, 8:10 AM