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
- Contabilidad
- Inventario
- PoS
- Proyecto
- MRP
Se marcó esta pregunta
1
Responder
3262
Vistas
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.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse