Skip to content
Snippets Groups Projects
Commit 9e1399d2 authored by Thomas Fossoul's avatar Thomas Fossoul
Browse files

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)
parent 81c174b7
Branches
Tags
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment