Software Freedom Law Center

Changeset 182

Show
Ignore:
Timestamp:
07/16/08 13:56:22 (2 months ago)
Author:
bkuhn
Message:

r226@hughes: bkuhn | 2008-07-14 14:41:40 -0400

  • Wrote initial stub class for Importer
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r45 r182  
     12008-07-14  Bradley M. Kuhn  <bkuhn@ebb.org> 
     2 
     3        * small-hacks/python/loblaw/openerp/import.py: Renamed file. 
     4 
     52008-07-08  Bradley M. Kuhn  <bkuhn@ebb.org> 
     6 
     7        * small-hacks/python/loblaw/openerp/uniimport.py (UniImport): 
     8        created class based on Josh Dukes' work. 
     9 
    1102007-12-22  Bradley M. Kuhn  <bkuhn@softwarefreedom.org> 
    211 
  • trunk/small-hacks/python/loblaw/openerp/uniimport.py

    r172 r182  
    2121    else: 
    2222        return c 
     23 
     24class Importer: 
     25    """This class is a universal importer for an OpenERP database.  The 
     26    logic implemented here is for the import side, and relies heavily on 
     27    the interface of the loblaw.openerp.ForeignExporter object.""" 
     28    def __init__(exporter, config): 
     29        """exporter is any valid loblaw.openerp.Exporter object.  config can 
     30        either be a fully qualified path name to a configuration file, or the 
     31        string representing the XML."""  
     32        pass 
     33    def import(): 
     34        """import performs the actual import operation from the foreign 
     35        database into OpenErp.""" 
     36        pass 
    2337 
    2438class importer: 

SFLC Main Page

[frdm] Support SFLC