~allison-miller/openerp-connector/7.0-magentoerpconnect-invoice-export-state

« back to all changes in this revision

Viewing changes to magentoerpconnect/product.py

  • Committer: Brendan Clune
  • Date: 2013-07-24 21:02:04 UTC
  • Revision ID: brendan.clune@logicsupply.com-20130724210204-50q3l5bh00m586fz
[UNSTABLE] Fixes for product qty

Show diffs side-by-side

added added

removed removed

Lines of Context:
430
430
                # Commented out 7-11-2013: TODO: submit patch rethinking logic here
431
431
                # 'is_in_stock': int(product.magento_qty > 0)
432
432
            })
 
433
        """ Commented out 7-18-2013: TODO: submit patch rethinking logic here
433
434
        if 'manage_stock' in fields:
434
435
            manage = product.manage_stock
435
436
            result.update({
442
443
                'backorders': self._map_backorders[backorders],
443
444
                'use_config_backorders': int(backorders == 'use_default'),
444
445
            })
 
446
        """
445
447
        return result
446
448
 
447
449
    def run(self, binding_id, fields):