Commit Graph
3 Commits
Author SHA1 Message Date
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Samus CTO 4b387e73cb [IMP] shell: load Odoo modules that have a "cli" directory 2014-12-23 16:29:33 +01:00
Daniel Reis 9ed13353c0 [IMP] add odoo.py shell subcommand
It starts an interactive Python console. If a database is provided, with the
`-d` argument `env` is bound to an Environement with the uid and context of
SUPERUSER_ID and `self` is bound to a RecordSet of the corresponding res.users.

Courtesy of Daniel Reis, reworked to be a bit more agnostic.

Command class is moved from __init__.py to command.py to improve imports of
__init__.py
2014-12-21 02:42:28 +01:00