[IMP] purchase: fix indentation for onchange of uom

bzr revid: rha@tinyerp.com-20120622075030-x3qgudjfnr02pxzr
This commit is contained in:
Rifakat
2012-06-22 13:20:30 +05:30
parent e4c36049c7
commit a9bdf59184
+2 -2
View File
@@ -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