Skip to content

Commit

Permalink
[FIX] purchase_landed_cost: Exception with incorrect param
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza authored Jun 14, 2021
1 parent d356741 commit d49e655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purchase_landed_cost/models/purchase_cost_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _prepare_expense_line(self, expense_line, cost_line):
raise UserError(
_("The cost for the line '%s' can't be "
"distributed because the calculation method "
"doesn't provide valid data" % cost_line.type.name))
"doesn't provide valid data" % expense_line.type.name))
return {
'distribution_expense': expense_line.id,
'expense_amount': expense_amount,
Expand Down

0 comments on commit d49e655

Please sign in to comment.