Creating an environment like in a customer has to find indivudual errors:
At first you need a folder under workspace called /rm-odoo
In that folder you create the subfolder: .vscode (with settings.json and launch.json files) (with the dot)
You need on your system:
1.https://gitlab.ownerp.io/ci-myodoo/vscode/-/blob/develop/build_odoo_system.py
2. https://gitlab.ownerp.io/ci-myodoo/vscode/-/tree/develop/global/rm-odoo/.vscode
3. https://gitlab.ownerp.io/ci-myodoo/vscode/-/blob/develop/odoo_rm.conf
That is the structure you need:
We only need those files:
create a access_myodoo.txt (with the access code for the customer system or a public access code)
get the build_odoo_system.py from https://gitlab.ownerp.io/ci-myodoo/vscode/-/blob/develop/build_odoo_system.py
get the launch & settings.json from here https://gitlab.ownerp.io/ci-myodoo/vscode/-/tree/develop/global/rm-odoo/.vscode
Run the build_odoo_system.py over the Run & Debug Mode.
Or write in Terminal:
python3 build_odoo_system.py
What happens in the Skript:
folder is deleted and odoo folder where the system is building will be cleaned up.
it looks for Access Code (in the access_myodoo.txt)
then all odoo modules will be loaded from the Releasemanager, unpacked & cleaned up (automatically done)
The folders:
addons = Kernel Path
odoo = odoo bin Path
The Config you need:
From odoo_rm.conf
Difference: the workspace is on conf/workspace/rm-odoo/data (path to the odoo files)
Bring the