[FIX] sale: set default value of price_unit

bzr revid: hmo@tinyerp.com-20101231064506-kc5er6iauj9spkcu
This commit is contained in:
NOZ (OpenERP) 2010-12-31 12:15:06 +05:30 committed by Harry (OpenERP)
parent 6835156824
commit 270f0d158a
1 changed files with 2 additions and 1 deletions

View File

@ -882,7 +882,8 @@ class sale_order_line(osv.osv):
'invoiced': 0,
'state': 'draft',
'type': 'make_to_stock',
'product_packaging': False
'product_packaging': False,
'price_unit': 0.0,
}
def invoice_line_create(self, cr, uid, ids, context=None):