Skip to Content
Menu
This question has been flagged
2 Replies
3298 Views

Hello,

In the res_partner table we have the user.id column which is linked to res_user table .

In the res_user table we have the login column.

- I have added Point of sale module (POS) and want to add and search by login information in the screen where we list the partners (customers).

Please can someone explain how to achieve this?

 And please admin do not close my question..

Kind regards,

Avatar
Discard
Author Best Answer

Hello


Thank you very much.


create related field and add to search view. 

Which search view, I can't know which one because i have no access to dev mode once in the POS?

How can i find it ?

Do you know how to add a related field ?


login = fields.Char(related="user_ids.login" string="Login")

In which file have i to add this ?

and add in search view

How ?




Kind regards





Avatar
Discard
Best Answer

create related field and add to search view.

 login = fields.Char(related="user_ids.login" string="Login")


and add in search view


Thank you

Avatar
Discard