Skip to content
Snippets Groups Projects
Commit f89b39c7 authored by Quentin De Paoli's avatar Quentin De Paoli
Browse files

[FIX] stock_account: return value in create() method

bzr revid: qdp-launchpad@openerp.com-20131029160643-xpr1ej51klvwy6xk
parent 5d3ea94d
Branches
Tags
No related merge requests found
......@@ -175,6 +175,7 @@ class product_product(osv.osv):
'cost': vals.get('standard_price', 0.0),
'reason': 'standard_price is set',
}, context=context)
return product_id
def write(self, cr, uid, ids, values, context=None):
if 'standard_price' in values:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment