Odoo Help


How to seperate USER AND SUPPLIER

syam sundar singh
on 5/6/15, 3:09 AM 898 views

 When i created a USER automatically SUPPLIER is creating. I noticed in base / res_user.py the inheritance was such

_inherits = {

'res.partner': 'partner_id',

how to separate the USER and SUPPLIER can any one help me??


Solanki Shamji

--Solanki Shamji--

| 5 2 7
Baroda, India
--Solanki Shamji--


Solanki Shamji
On 5/6/15, 5:17 AM


May be this information will useful to you,

Partners represent People and Organizations.

The most straightforward example are Customers and Suppliers.

Other examples of Partners are:

Contact persons within an organization

Customer or Supplier Adresses

Employees personal contact data

Users contact data

So it's a base concept used pretty much everywhere in the application.

--------------------------------------------------------------------------------------------------------- by : Daniel Reis



Thank you shamji.. But i need to control the automatic creation of supplier.

syam sundar singh
on 5/6/15, 7:31 AM

Hello, I noticed the following changes. To restrict the Automatic supplier from the code. base/res/res.partner.py comment the active : _defaults = { #'active': True, so that user wont visible in supplier. Thanks. syam sundar singh

syam sundar singh
on 5/7/15, 6:09 AM
syam sundar singh
On 5/6/15, 7:28 AM


Hello, For this over write create method of res.partner and pass supplier as False value. Thanks

Solanki Shamji
on 5/6/15, 8:17 AM

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.


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

1 follower(s)


Asked: 5/6/15, 3:09 AM
Seen: 898 times
Last updated: 5/6/15, 8:16 AM