Browse Source

Merge pull request #664 from Sathors/8.0

Add a troubleshooting section to the shell
pull/653/head
Jairo Llopis 8 years ago
committed by GitHub
parent
commit
7a0045044f
  1. 12
      shell/README.rst

12
shell/README.rst

@ -36,8 +36,20 @@ Example session:
<openerp.api.Environment object at 0xb3f4f52c> <openerp.api.Environment object at 0xb3f4f52c>
>>> self.env['res.partner'].search([('name', 'like', 'Ag')]) >>> self.env['res.partner'].search([('name', 'like', 'Ag')])
res.partner(7, 51) 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=<your_path1>,<your_path2> shell --config=<your_config_file> -d <dbname>
Bug Tracker Bug Tracker
=========== ===========

Loading…
Cancel
Save