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 wanted to use product_custom_attributes Module and found it on launchpad bundled with about 30 different modules here https://launchpad.net/openerp-product-attributes
downloaded them all by lp:openerp-product-attributes from inside of my /opt/openerp/ocb7.0 folder and added /opt/openerp/ocb7.0/openerp-product-attribtues in my 'addons path' in out /etc/ocb-7.0.conf file
this works fine and I can install all these modules.
But actually I have now about 7 folders for modules inside of our /opt/openerp/ocb7.0 folder. I though that is a little too much and would like to clean that up. Actually my idea was to do the downloading (maybe not the quite correct term) from github or launchpad into my home folder and then only copy the modules I want to use into the regular 'addons' folder. In order to do the cleanup I tried:
- sudo service ocbserver-7,0 stop (not sure whether that is really necessary)
- copied the two modules (base_custom_attributes & product_custom_attributes) into the 'ocb-addons' folder
- did a chown -R openerp:openerp ocb-addons (to make them accesible)
- moved the folder 'openerp-product-attributes' into my /home
- deleted the /opt/openerp/ocb7.0/openerp-product-attribtues from the 'addons path' in my config file
- restarted the ocb-server
- updated my Modules list
as a result I can't open my products any more with the following error:
Can't find field 'categ_ids' in the following view parts composing the view of object model 'product.product':
Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
un- and reinstalling the two modules does not help
any idea how to fix this? I did the same procedure described above sucessfully with another module (which is a custom made module that adds an extra field for an employee)
Most likely you use the home directory of some user that is not the same as the OpenERP instance is running under. Check under /opt/openerp which user has access to that directory.
The error you see is caused by OpenERP trying to update a module which it can't find in its addons path. Uninstalling will only work if the actual module is still available when uninstalling. Why this is I don't know.
Personally I have found it to be a good idea to make an /opt/openerp/custom_modules directory and download all the custom modules there. Give it the right access rights, put the directory in the addons path and you should be good to go.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 6/24/14, 2:22 AM|
|Seen: 1392 times|
|Last updated: 2/8/16, 11:23 AM|