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.
I’d like to add a field to project.project.form that shows a field I’ve defined in the res.partner model called ‘x_client_code’.
If I just add the field I get a validate error when I try to save the view. I must need to tell it where to find the info, but I don’t know how.
Here’s a link to the code: http://pastebin.com/TSnhUwgM.
Can anyone help please? Thanks.
You have to first take a field(type depends on which data you want to show) in project.project and then
1) either you can fill its field(field in project.project) value when the original field is bieng updated(in write or create method of original fields master) or
2) you can override the Read method of project.project and write the original fields data into this field
(Note: prefer to go with first menthod)
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: 4/8/15, 8:31 PM|
|Seen: 1508 times|
|Last updated: 5/15/15, 7:45 AM|