[ADD] Default value for supplierinfo.min_qty

And remove default value for function field "qty"
This commit is contained in:
sve-odoo 2014-06-05 09:55:30 +02:00
parent 0eb602dd61
commit b33bf57832
1 changed files with 1 additions and 1 deletions

View File

@ -1152,7 +1152,7 @@ class product_supplierinfo(osv.osv):
'company_id':fields.many2one('res.company','Company',select=1),
}
_defaults = {
'qty': 0.0,
'min_qty': 0.0,
'sequence': 1,
'delay': 1,
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'product.supplierinfo', context=c),