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'm trying to add in a way to store data about different sites a customer may have. This is my first development, so the theory was to keep it pretty simple for now.
Managed to code the model which seems to work ok, if I import it without any xml files no errors and my extra fields show up.
Then I get to coding the view, which I have to admit I don't understand that well. I thought I'd start with tree view. the following is the closest I think I've come.
When I try to install the module with this xml it throws an error.
I really have no idea how to proceed. Been trying to get a view working for the last 5 hours.
I spotted some errors in the xml file and it's working now!
<record model="ir.actions.act_window.view" id="action_sites_view_tree">
<record model="ir.actions.act_window" id="action_sites_view_tree">
This threw another error about res_model, I noticed I missed that out so added in
Seems like that sorted it, hopefully I can figure out the rest now.
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: 3/27/13, 10:42 AM|
|Seen: 1619 times|
|Last updated: 3/16/15, 8:10 AM|