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.
As a newbe I'm trying to import records from our 3rd party system into Odoo. We use our IDs as our main reference for records for example a customer within the company woukd be refered to as file number (1245) as well as by name, the same applys to a product e.g. id (20152) rather than its code or description. I note Odoo offers the facility to 'map' external ids using ir.model.data during the csv import which I understand and have done successfully. However we would need to show these external IDs when displaying the customer / product records whilst maintaining the ir.model.data mapping so we can update records in future.
The question is what would be the best method of achieving the above:
1) To write a custom module to get the value via ir.model.data and expose it to the form (assuming there is not a simpler method of retrieving the external ID and displaying it) ?
2) To create a custom field and populate this with the external ID (effectively duplicating the data) and add it to the form. This seems simpler but somehow not the cleanest?
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: 7/2/14, 5:43 PM|
|Seen: 2320 times|
|Last updated: 8/27/16, 8:10 AM|