Skip to content

Instantly share code, notes, and snippets.

@rafnixg
Created January 14, 2023 14:46
Show Gist options
  • Save rafnixg/d3fa1f79156bec53493a0a6dc4624462 to your computer and use it in GitHub Desktop.
Save rafnixg/d3fa1f79156bec53493a0a6dc4624462 to your computer and use it in GitHub Desktop.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Odoo",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"--dev", "xml",
"-d", "kimenz-prod"
]
},
{
"name": "Odoo-install-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-i","agreement_portal",
"--stop-after-init"
]
},
{
"name": "Odoo-update-one-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-u","fieldservice_equipment_website",
"--stop-after-init"
]
},
{
"name": "Odoo-update-all-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-u","all",
"--stop-after-init"
]
},
{
"name": "Odoo-repl",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"shell",
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"--xmlrpc-port","8888",
"--longpolling-port","8899",
"-d", "kimenz-prod",
"--shell-interface", "ipython"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment