~metacode/ocb-server/ocb-server-7.0

« back to all changes in this revision

Viewing changes to openerp/report/report_sxw.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:
29
29
from interface import report_rml
30
30
import preprocess
31
31
import logging
32
 
import pooler
33
 
import tools
 
32
import openerp.pooler as pooler
 
33
import openerp.tools as tools
34
34
import zipfile
35
35
import common
36
 
from osv.fields import float as float_class, function as function_class
37
 
from osv.orm import browse_record
 
36
from openerp.osv.fields import float as float_class, function as function_class
 
37
from openerp.osv.orm import browse_record
38
38
 
39
39
DT_FORMAT = '%Y-%m-%d'
40
40
DHM_FORMAT = '%Y-%m-%d %H:%M:%S'