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 list all the products from a parent category, even if they're in a subcategory. Same as asked here: https://www.odoo.com/forum/help-1/question/list-products-in-all-subcategories-10874
I still can't make that work. But on one of my trial-error, I found out that deleting all the .xml files from /Server/server/openerp/addons/product/ has absolutely no effect. I restarted the service few times but the forms keeps working as usual and also the search functions and filters.
I spent all day trying to add a new filter when the problem seems to be that the service is not loading the xml files from where I thought. Why is that?
Views are database persistent for performance reasons. The process of installing/upgrading a module loads the views into the table ir_ui_view. Once the module is installed, you can delete all the .xml files you want, it makes no difference. You'll run into a lot of trouble the next time you try to upgrade the product module or one of its dependents, base, decimal_precision, mail, or report.
You need to inherit views to modify them properly. You can also edit the default view as well, but it's not recommended as those changes won't be persistent through a module upgrade.
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/24/14, 11:31 AM|
|Seen: 1639 times|
|Last updated: 3/16/15, 8:10 AM|