diff options
| author | Daniel Reis <dgreis@sapo.pt> | 2014-12-09 23:37:45 +0000 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2014-12-21 02:42:28 +0100 |
| commit | 9ed13353c0d5f6b8a9684e612514b3b834642554 (patch) | |
| tree | f1e5805c90986ca15a0106ef375db9ed9fbf1d7e /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 33f7322c0f3ffcd577f1b5a1aa8565a18f205342 (diff) | |
[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
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
