~openerp-dev/openobject-server/6.1-bug-1013566-odo

« back to all changes in this revision

Viewing changes to openerp/ir/ir.py

  • Committer: Vo Minh Thu
  • Date: 2011-02-07 12:57:23 UTC
  • mto: This revision was merged to the branch mainline in revision 3351.
  • Revision ID: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
[IMP] openerp python module.

- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
##############################################################################
21
21
 
22
22
import pickle
23
 
import osv
24
 
import pooler
 
23
import openerp.osv as osv
 
24
import openerp.pooler as pooler
25
25
 
26
26
def ir_set(cr, uid, key, key2, name, models, value, replace=True, isobject=False, meta=None):
27
27
    obj = pooler.get_pool(cr.dbname).get('ir.values')