~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 magentoerpconnect_pricing/product.py

  • Committer: nicolas.bessi at camptocamp
  • Author(s): guewen.baconnier at camptocamp
  • Date: 2013-09-02 14:33:48 UTC
  • mfrom: (888.4.2 magentoerpconnect)
  • Revision ID: nicolas.bessi@camptocamp.com-20130902143348-dvsvrncla92evaui
[MRG][CHG] replace the unregister of ConnectorUnit classes by the new 'replacing' option of the Backend c.f. https://bazaar.launchpad.net/~openerp-connector-core-editors/openerp-connector/7.0/revision/583

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
from openerp.addons.magentoerpconnect.connector import get_environment
35
35
 
36
36
 
37
 
magento.unregister_class(product.ProductImportMapper)
38
 
 
39
 
 
40
 
@magento
 
37
@magento(replacing=product.ProductImportMapper)
41
38
class ProductImportMapper(product.ProductImportMapper):
42
39
    _model_name = 'magento.product.product'
43
40