[IMP] stock: typo in tooltip + useless lambda

bzr revid: odo@openerp.com-20111222165422-5nlkvg8hj6w7ecli
This commit is contained in:
Olivier Dony 2011-12-22 17:54:22 +01:00
parent a78897f636
commit f974bc2c62
1 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ class product_product(osv.osv):
'virtual_available': fields.function(_product_available, multi='qty_available',
type='float', digits_compute=dp.get_precision('Product UoM'),
string='Quantity Available',
help="Forcasted quantity (computed as Quantity On Hand "
help="Forecast quantity (computed as Quantity On Hand "
"- Outgoing + Incoming)\n"
"In a context with a single Stock Location, this includes "
"goods stored at this Location, or any of its children.\n"
@ -403,7 +403,7 @@ class product_product(osv.osv):
}
_defaults = {
'valuation': lambda *a: 'manual_periodic',
'valuation': 'manual_periodic',
}
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):