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.
Is it possible to record multiple addresses on each customer or supplier record? Often, there are different invoice and delivery addressed used by customers or suppliers. How do you manage this without creating multiple (duplicate) customer or supplier records? Surely Odoo should be able to do this easily. Afterall, it's simply a one-to-many database design!!
Create a new one2many field in your model and then add it to the view.
//You could alternatively use the 8.0 API here too, then you'd use models.Model class your_class(osv.osv): _inherit = res.partner 'all_partner_ids': fields.one2many( 'res.partner', 'assigned_partner_ids', string='Customers', ),
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: 5/6/15, 2:16 AM|
|Seen: 577 times|
|Last updated: 5/6/15, 2:59 AM|