[Fix] stock: Check the field is exist then qty_available display in report
bzr revid: sbh@tinyerp.com-20100618071206-poxwm1ovzdk6s083
This commit is contained in:
parent
3e7f590e31
commit
3a76c0baaf
|
@ -349,7 +349,8 @@ class product_product(osv.osv):
|
|||
if location_info.usage == 'inventory':
|
||||
if fields.get('virtual_available'):
|
||||
res['fields']['virtual_available']['string'] = _('Future P&L')
|
||||
res['fields']['qty_available']['string'] = _('P&L Qty')
|
||||
if fields.get('qty_available'):
|
||||
res['fields']['qty_available']['string'] = _('P&L Qty')
|
||||
|
||||
if location_info.usage == 'procurement':
|
||||
if fields.get('virtual_available'):
|
||||
|
|
Loading…
Reference in New Issue