Odoo Help

Welcome!

This community 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.

0

Users stored in res_partner..?

By
aci aisha
on 1/20/15, 1:33 AM 580 views

Hi friends,

When we create a customer it should be stored in the table res_partner

But when we create a user it stored in res_user and res_partner..

What is the logic behind it??

...?

Anand
on 1/20/15, 1:37 AM
0
Umashankar Subramani
On 1/20/15, 1:37 AM

A res.users class inherits from res.partner. The partner model is used to store the data related to the partner: lang, name, address. The user model is now dedicated to technical data.

Ddnt understand,,,

abin c ibrahim
on 1/20/15, 1:46 AM
0

Emipro Technologies Pvt. Ltd.

--Emipro Technologies Pvt. Ltd.--
Tiny ERP Pvt Ltd
http://www.odoo.com
5975
| 6 7 8
Rajkot, India
--Emipro Technologies Pvt. Ltd.--

Being an emerging leader in IT market since 2011, Emipro Technologies Pvt. Ltd. has been providing a wide range of business solutions in Odoo & Magento. We are pleased to have a large pool of contented customers with our meticulous work in the domain of ERP & e-Commerce. A ray of relief & satisfaction to  our customers heart by our successful deployment in their organization, purely represents our success in Odoo platform. Hence, we take pride for being an Odoo partner with a vision of expanding our strategic alliances with our customers to offer them high value-added, trustworthy & cost effective solutions.

 

Since establishment, our business has span across 11 countries of the world. Our customers are companies of all sizes ranging from start-ups to large enterprises, who realize that they need a professional business solutions to generate revenue streams, establish proper communication channels or streamline business operations. Standing with strong determination of customer satisfaction, observing each minute detail of their business processes, providing proper guidance and moving forth to develop product accordingly adds our value and reliability among our customers. 

 

We are blessed with efficient, passionate & eclectic young developers who have come across almost all kinds of business profiles, working with full dedication, applying creativity & new features in existing modules and completing customer's projects successfully on predefined target. Our in-depth knowledge while giving business solutions in Odoo allows us to offer following services to our customers :

 

  • Consulting
  • Installation, Configuration & Customization
  • Training & Support
  • Maintenance
  • Upgradation
  • Documentation
  • Crafting community modules
  • Drafting videos on demand
  • Smart Apps development

We will be :) to welcome you @ www.emiprotechnologies.com to solve any kind of your business needs around Odoo. However we are just an inch away from you by email info@emiprotechnologies.com or a tweet to @EmiproTech

Emipro Technologies Pvt. Ltd.
On 1/20/15, 1:45 AM

The reason behind creating partner of that user and relating that with user table, is that from OpenERP 7 onwards, as they have given feature of messaging, it uses related partner for following particular record, sending message, and other messaging feature. And also any customer can also log a note into related invoice, and so on. So to make that central development, rather than creating different method to send messages from users, they have created a partner for related users and managing messaging from that user. Also if you notice, it is creating partner for company as well !

Ok,But how can i filter the customers only when i use a many2one function from res_partners(Now it also displays the usersr also,bt i didnt need that)

abin c ibrahim
on 1/20/15, 1:48 AM

There are 3 boolean fields that are available in res.partner that you can use for filtering. They are Customer (field name customer), Supplier (supplier), and Employee (employee). Any partner can have none (a very rare case), one, two, or all three fields checks, but basically if you are creating a Sale Order, the Customer field will filter res.partner that has Customer field checked. So, if you have a many2one field and you want to let user select only partners that are Customers, you can put a domain to that field: [('customer', '=', True)]

Ivan
on 1/20/15, 2:06 AM

There is a field 'customer' in the res_partner model which is of type boolean you can always use that. This field doesn't get checked when partner is created for the user.

Emipro Technologies Pvt. Ltd.
on 1/20/15, 2:08 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/20/15, 1:33 AM
Seen: 580 times
Last updated: 3/16/15, 8:10 AM