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 have two models.
In first model
I have two field: Place(textbox), Type(Selection)-Source,Destination,Both
In second model
I have source, destination, both are many2one fields.
in source field,i want place with type source & both
in destination field,i want place with type destination & both
How can i write the code?
3 places -- src,dest,both
When call the source field in any other form, i want to list down src,both in my source field.
You have to check the docs. The python is just one thing what you should now. https://doc.openerp.com/v6.1/developer/03_modules_2/ https://doc.openerp.com/trunk/server/api_models/
You can find easy way the solutions if you check the source code. I can paste the code here, but I think you cannot use in proper way.
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: 9/21/13, 2:25 AM|
|Seen: 721 times|
|Last updated: 3/16/15, 8:10 AM|