summaryrefslogtreecommitdiff
path: root/openerp/cli/shell.py
AgeCommit message (Collapse)Author
2016-09-02[REF] openerp: move `openerp` to `odoo`Raphael Collet
2016-09-01[REF] registry: move functionalities from `RegistryManager` to `Registry`Raphael Collet
The API of `Registry` has been modified as follows: - `Registry(name)` returns the registry of the given database - `Registry.new(name)` forces the creation of a new `Registry` object - `Registry.delete(name)` discards the given registry - `Registry.delete_all()` discards all registries - `registry.setup_signaling()` initializes the signaling for `registry` - `registry.check_signaling()` returns an up-to-date `registry` - `registry.signal_registry_change()` notifies that `registry` has changed - `registry.signal_caches_change()` notifies potential cache invalidation
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2015-01-08[FIX] shell.py: fixed typoThibault Delavallée
Courtesy of Daniel Reis
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-12-27[IMP] odoo shell agnostic execution modeAntony Lesuisse
Streamed file or interactive console are both available whether or not a database is specified.
2014-12-25[IMP] stream code from stdin through Odoo's shellSamus CTO
Now I have a machine gun. Ho-ho-ho.
2014-12-23[FIX] shell: now catch SIGINT and raise a regular KeyboardInterruptSamus CTO
2014-12-21[IMP] add odoo.py shell subcommandDaniel Reis
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