vals=vals_line on a create function

Come on !!!!   

timesheet_obj.create(cr, uid, vals=vals_line, context=context)
timesheet_obj.create(cr, uid, vals_line, context=context)
This commit is contained in:
tfossoul 2014-06-19 09:45:14 +02:00
parent 81c174b740
commit 9e1399d2b3
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class project_work(osv.osv):
amount = vals_line['unit_amount']
prod_id = vals_line['product_id']
unit = False
timeline_id = timesheet_obj.create(cr, uid, vals=vals_line, context=context)
timeline_id = timesheet_obj.create(cr, uid, vals_line, context=context)
# Compute based on pricetype
amount_unit = timesheet_obj.on_change_unit_amount(cr, uid, timeline_id,