saas deployement - odoo-ps/psbe-process GitHub Wiki
*/!\ Those module cannot contain any python code in python file except odoo.py /!*
- Zip your module
- Connect as admin user on the client database, the admin should have "Technical Features" enabled
- Setting > Modules > Import Module
- In the wizard select your module and click on "Import Module" then "Close"
- Setting > Modules > Apply Schedule Upgrade
the uploading computer must have the python requests module installed
sudo pip install requests
in odoo/addons/base_import_module/bin/ , use the script oe_module_deploy.py
$ ./oe_module_deploy.py
usage: oe_module_deploy.py [-h] [--url URL] [--db DB] [--login LOGIN]
[--password PASSWORD] [--no-ssl-check]
path
Deploy a module on an OpenERP server.
positional arguments:
path Path of the module to deploy
optional arguments:
-h, --help show this help message and exit
--url URL Url of the server (default=http://localhost:8069)
--db DB Database to use if server does not use db-filter.
--login LOGIN Login (default=admin)
--password PASSWORD Password (default=admin)
--no-ssl-check Do not check ssl cert
Example
./oe_module_deploy.py --url http://localhost:8069 --db upload_test --login admin --password secret test_module