Cheat Sheet - how to use RM in VS Code

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:

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