~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/sale.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:
24
24
from openerp.addons.connector.unit.mapper import mapping
25
25
 
26
26
 
27
 
magento.unregister_class(sale.SaleOrderImportMapper)
28
 
 
29
 
 
30
 
@magento
 
27
@magento(replacing=sale.SaleOrderImportMapper)
31
28
class SaleOrderImportMapper(sale.SaleOrderImportMapper):
32
29
    _model_name = 'magento.sale.order'
33
30