Skip to content

Commit

Permalink
[ADD] Default value for supplierinfo.min_qty
Browse files Browse the repository at this point in the history
And remove default value for function field "qty"
  • Loading branch information
sve-odoo committed Jun 5, 2014
1 parent 0eb602d commit b33bf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/product/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def _calc_qty(self, cr, uid, ids, fields, arg, context=None):
'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),
Expand Down

0 comments on commit b33bf57

Please sign in to comment.