Odoo Som Connexió customizations
Project description
This project provides an ERP system for Som Connexio telecommunication users cooperative.
Installation
This package requires Odoo v12.0 installed.
You can install this module using pip
:
$ pip install odoo12-addon-somconnexio
More info in: https://pypi.org/project/odoo12-addon-somconnexio/
DEVELOPMENT
Create development enviornment
Create the devenv
container with the somconnexio
module mounted and provision it. Follow the instructions in odoo-somconnexio-inventory.
Once created, we can stop or start our odoo-sc
lxc container as indicated here:
$ sudo systemctl start lxc@odoo-sc
$ sudo systemctl stop lxc@odoo-sc
To check our local lxc containers and their status, run:
$ sudo lxc-ls -f
Start the ODOO application
Enter to your local machine as the user odoo
, activate the python enviornment first and run the odoo bin:
$ ssh odoo@odoo-sc.local
$ pyenv activate odoo
$ cd /opt/odoo
$ set -a && source /etc/default/odoo && set +a
$ ./odoo-bin -c /etc/odoo/odoo.conf -u somconnexio -d odoo
To use the local somconnexio module (development version) instead of the PyPI published one, you need to upgrade the version in the manifest and then update the module with -u
in the Odoo CLI.
Restart ODOO database from scratch
Enter to your local machine as the user odoo
, activate the python enviornment first, drop the DB, and run the odoo bin to create it again:
$ ssh odoo@odoo-sc.local
$ pyenv activate odoo
$ dropdb odoo
$ cd /opt/odoo
$ ./odoo-bin -c /etc/odoo/odoo.conf -i somconnexio -d odoo --stop-after-init
Run tests
You can run the tests with this command:
$ ./odoo-bin -c /etc/odoo/odoo.conf -u somconnexio -d odoo --stop-after-init --test-enable
The company data is rewritten every module upgrade
Credits
Authors
- Coopdevs Treball SCCL
Contributors
- Coopdevs Treball SCCL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for odoo12-addon-somconnexio-12.0.0.0.0rc71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0998eb09fe53c4b0303a2a025a85345ea732a3d973a50cfcf6cc0a3e5b1ef7 |
|
MD5 | e5ab62ea9a108ff887aff2849733a119 |
|
BLAKE2b-256 | 10572664086269e733896f4cb1836932fcfcc39367364617626ab582aefc6ffe |
Hashes for odoo12_addon_somconnexio-12.0.0.0.0rc71-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf71b8e7b0dd6d9413312f70ee7cae01a21112f46db57af540539b14a0657665 |
|
MD5 | ac06dbb8e64f992a2124eb71f8c3d439 |
|
BLAKE2b-256 | ec03ddc76be2e047dea1456f5220fe478afa45845bbe491ac23579a13c192665 |