odoo/odoo — pull request #4098 by dreispt (2014-12-08 12:02:45+00:00)
Title: Add shell mode

Add to odoo.py the `--shell` option.
It starts the server as usual, but instead of spawning processes
enters an interactive Python console.
The console acts as if in a method of the Users model, and `self`
references a recordset with the current user (Administrator).