I am running openerp via gunicorn. But if I want to reload the server to update some modules (ie. passing in --update=my-module) I am unsure how to do this. My workaround has been to run the server standalone with openerp.py to do the module updates and then restart under gunicorn.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3257
Views
Answering my own question. It turns out you don't always need to use the --update=<module> syntax when upgrading a module. This must just be a shortcut for development. Instead you just restart the server (which loads your new python objects). And then you when click on 'Upgrade Module' in the settings/modules page, your changes/updates will be reflected in the system.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up