Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6016 Lượt xem

Hello,


I would like to create my own menu (form) for user registration. But i am confused between "res.user" and  "res.partner" ;

which class (or menu)  i should use to create my form ? I want also add some fields to the basic form.

Thank you.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Zak,

The model 'res.users' is for storing the details of users in the Odoo, where as the 'res.partner' is for the customers/suppliers/partners.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you bro,

So i should Add my specific fields to res.user ?

I want to add: phone, adresse, language...etc to user form registration.

Another question, is how to display only the created  users by the current user in user liste.

Ảnh đại diện
Huỷ bỏ

you can give filter the users based on the create_uid

Tác giả

Thank you bro. How to hidde some fields from res.user?

And how to add fields in sign up