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:
parent
81c174b740
commit
9e1399d2b3
|
@ -137,7 +137,7 @@ class project_work(osv.osv):
|
||||||
amount = vals_line['unit_amount']
|
amount = vals_line['unit_amount']
|
||||||
prod_id = vals_line['product_id']
|
prod_id = vals_line['product_id']
|
||||||
unit = False
|
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
|
# Compute based on pricetype
|
||||||
amount_unit = timesheet_obj.on_change_unit_amount(cr, uid, timeline_id,
|
amount_unit = timesheet_obj.on_change_unit_amount(cr, uid, timeline_id,
|
||||||
|
|
Loading…
Reference in New Issue