~sebastien.beau/openerp-connector/e-commerce-addons-refactor-sale-payment

« back to all changes in this revision

Viewing changes to connector_ecommerce/sale.py

  • Committer: Guewen Baconnier
  • Date: 2013-04-30 09:11:15 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20130430091115-o65w5woyrx6687rf
[ADD] sale exception when an ordered product has a pending connector checkpoint

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    _inherit = 'sale.order'
71
71
 
72
72
    def _get_parent_id(self, cr, uid, ids, name, arg, context=None):
73
 
        return self.pool.get('sale.order').get_parent_id(cr, uid, ids,
74
 
                                                         context=context)
 
73
        return self.get_parent_id(cr, uid, ids, context=context)
75
74
 
76
75
    def get_parent_id(self, cr, uid, ids, context=None):
77
76
        """ Need to be inherited in the connectors to implement the