Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When i create a supplier company with one or more contacts, the suppliers tree view shows each contact as a supplier, ej: <computer inc="">,<1 contact name> <computer inc="">,<2 contact name> ......
but that is not true, the contacts are not suppliers, only the companies. Looking the database, res_partner file have a "is_company" field. There exists some way of limiting the tree view to only shows the registers with this field = True?
In server you can find a file res_partner_view.xml(server/openerp/addons/base/res/res_partner_view.xml). There is a record with id="action_partner_supplier_form". Here, In domain add domain like :
it will show's the suppliers where is_company=True.
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 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
|Asked: 8/14/13, 1:56 PM|
|Seen: 1049 times|
|Last updated: 3/16/15, 8:10 AM|