Skip to content

Commit

Permalink
[FIX] account_operating_unit: define operating unit in all caba moves
Browse files Browse the repository at this point in the history
  • Loading branch information
alan196 committed Apr 30, 2024
1 parent 7edebfa commit ef8f85d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions account_operating_unit/models/account_partial_reconcile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ def _prepare_cash_basis_counterpart_tax_line_vals(self, tax_line, cb_tax_line_va
)
res.update({"operating_unit_id": tax_line.operating_unit_id.id})
return res

@api.model
def _prepare_cash_basis_counterpart_base_line_vals(self, cb_base_line_vals):
res = super()._prepare_cash_basis_counterpart_base_line_vals(cb_base_line_vals)
res.update({"operating_unit_id": cb_base_line_vals["operating_unit_id"]})
return res

0 comments on commit ef8f85d

Please sign in to comment.