[FIX] sale_timesheet: fix recordset given to a create / write instead of an id
This commit is contained in:
@@ -40,7 +40,7 @@ class AccountAnalyticLine(models.Model):
|
||||
return {
|
||||
'amount': -unit_amount * cost,
|
||||
'product_uom_id': uom.id,
|
||||
'account_id': emp.account_id,
|
||||
'account_id': emp.account_id.id,
|
||||
}
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user