From a9bdf5918460ebf3beae65e91d16dcb2e69acc7f Mon Sep 17 00:00:00 2001 From: Rifakat Date: Fri, 22 Jun 2012 13:20:30 +0530 Subject: [PATCH] [IMP] purchase: fix indentation for onchange of uom bzr revid: rha@tinyerp.com-20120622075030-x3qgudjfnr02pxzr --- addons/purchase/purchase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 98907edf6c2..6242c850a5d 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -707,8 +707,8 @@ class purchase_order_line(osv.osv): return {'value': {'price_unit': price_unit or 0.0, 'name': name or '', 'notes': notes or'', 'product_uom' : uom_id or False}} context.update(uom_change=True) return self.onchange_product_id(cr, uid, ids, pricelist_id, product_id, qty, uom_id, - partner_id, date_order=date_order, fiscal_position_id=fiscal_position_id, date_planned=date_planned, - name=name, price_unit=price_unit, notes=notes, context=context) + partner_id, date_order=date_order, fiscal_position_id=fiscal_position_id, date_planned=date_planned, + name=name, price_unit=price_unit, notes=notes, context=context) def _get_date_planned(self, cr, uid, supplier_info, date_order_str, context=None): """Return the datetime value to use as Schedule Date (``date_planned``) for