diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-11-22 15:05:22 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-11-23 11:52:39 +0100 |
| commit | 98cb4719dbe90dbe980be4ad98f22fe155c2dae1 (patch) | |
| tree | f6c9a9294908207116782c6f8513f91d7aed6403 /odoo/netsvc.py | |
| parent | 94d2b97da4af28c551d246f14347f7674c4d50f5 (diff) | |
[REM] workflow: Remove workflow engine, documentation and tests
Diffstat (limited to 'odoo/netsvc.py')
| -rw-r--r-- | odoo/netsvc.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/odoo/netsvc.py b/odoo/netsvc.py index ff904fed2f3..b62f830eb9c 100644 --- a/odoo/netsvc.py +++ b/odoo/netsvc.py @@ -28,18 +28,12 @@ def log(logger, level, prefix, msg, depth=None): def LocalService(name): """ The odoo.netsvc.LocalService() function is deprecated. It still works - in two cases: workflows and reports. For workflows, instead of using - LocalService('workflow'), odoo.workflow should be used (better yet, - methods on odoo.osv.orm.Model should be used). For reports, - odoo.report.render_report() should be used (methods on the Model should - be provided too in the future). + in one case: reports. For reports, odoo.report.render_report() should + be used (methods on the Model should be provided too in the future). """ assert odoo.conf.deprecation.allow_local_service _logger.warning("LocalService() is deprecated since march 2013 (it was called with '%s')." % name) - if name == 'workflow': - return odoo.workflow - if name.startswith('report.'): report = odoo.report.interface.report_int._reports.get(name) if report: @@ -195,7 +189,6 @@ def init_logger(): _logger.debug('logger level set: "%s"', logconfig_item) DEFAULT_LOG_CONFIGURATION = [ - 'odoo.workflow.workitem:WARNING', 'odoo.http.rpc.request:INFO', 'odoo.http.rpc.response:INFO', 'odoo.addons.web.http:INFO', |
