From 87902fae5d3048cb2fbc47a8d66dd705b16a3ec0 Mon Sep 17 00:00:00 2001 From: Sathors Date: Wed, 21 Dec 2016 22:07:51 -0500 Subject: [PATCH] Add a troubleshooting section to the shell. --- shell/README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/shell/README.rst b/shell/README.rst index d8be151da..b03c5fcb5 100644 --- a/shell/README.rst +++ b/shell/README.rst @@ -36,8 +36,19 @@ Example session: >>> self.env['res.partner'].search([('name', 'like', 'Ag')]) res.partner(7, 51) + + +Troubleshooting +=============== +If the command does nothing, or if you have the error + Usage: odoo.py [options] + odoo.py: error: unrecognized parameters: 'shell' + +it is surely because of the order of the parameters. Try the following: + + $ ./odoo.py --addons-path=, shell --config= -d Bug Tracker ===========