[FIX] sale: set default value of price_unit
bzr revid: hmo@tinyerp.com-20101231064506-kc5er6iauj9spkcu
This commit is contained in:
parent
6835156824
commit
270f0d158a
|
@ -882,7 +882,8 @@ class sale_order_line(osv.osv):
|
||||||
'invoiced': 0,
|
'invoiced': 0,
|
||||||
'state': 'draft',
|
'state': 'draft',
|
||||||
'type': 'make_to_stock',
|
'type': 'make_to_stock',
|
||||||
'product_packaging': False
|
'product_packaging': False,
|
||||||
|
'price_unit': 0.0,
|
||||||
}
|
}
|
||||||
|
|
||||||
def invoice_line_create(self, cr, uid, ids, context=None):
|
def invoice_line_create(self, cr, uid, ids, context=None):
|
||||||
|
|
Loading…
Reference in New Issue