~camptocamp/openerp-connector-magento/7.0-magentoerpconnect-handle-shipping-tax-in-tax_included-context-rde

« back to all changes in this revision

Viewing changes to customize_example/connector.py

  • Committer: Guewen Baconnier
  • Date: 2013-08-27 10:35:30 UTC
  • mfrom: (888.3.5 magentoerpconnect)
  • Revision ID: guewen.baconnier@camptocamp.com-20130827103530-exuh7asbmhzh6p2p
[IMP] use the new 'install_in_connector' instead of crafting the AbstractModel ourselves

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#
20
20
##############################################################################
21
21
 
22
 
from openerp.osv import orm
23
 
 
24
 
 
25
 
class customize_example_installed(orm.AbstractModel):
26
 
    """Empty model used to know if the module is installed on the
27
 
    database.
28
 
 
29
 
    If the model is in the registry, the module is installed.
30
 
    """
31
 
    _name = 'customize_example.installed'
 
22
from openerp.addons.connector.connector import install_in_connector
 
23
 
 
24
 
 
25
install_in_connector()