~unifield-team/unifield-web/uf-2235

« back to all changes in this revision

Viewing changes to addons/openerp/tools/__init__.py

  • Committer: ame (Tiny)
  • Date: 2010-01-07 07:47:47 UTC
  • Revision ID: ame@tinyerp.com-20100107074747-sqc1cmm24gofqmuh
[REF] separating base API to openobject
[REF] removed all openerp related stuffs from base api

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
import rpc
 
3
from tools import *
 
4
 
 
5
from openobject.tools import register_template_vars
 
6
 
 
7
def _root_vars():
 
8
    return {
 
9
        'rpc': rpc,
 
10
    }
 
11
 
 
12
register_template_vars(_root_vars, None)
 
13
 
 
14
del register_template_vars
 
15