Skip to content

Commit

Permalink
[FIX] account_reconcile_analytic_tag: Add kwargs on _get_reconcile_line
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Jan 3, 2025
1 parent c1a7bf7 commit 9ec53e1
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
class AccountReconcileAbstract(models.AbstractModel):
_inherit = "account.reconcile.abstract"

def _get_reconcile_line(
self, line, kind, is_counterpart=False, max_amount=False, from_unreconcile=False
):
vals = super()._get_reconcile_line(
line=line,
kind=kind,
is_counterpart=is_counterpart,
max_amount=max_amount,
from_unreconcile=from_unreconcile,
)
def _get_reconcile_line(self, line, kind, **kwargs):
vals = super()._get_reconcile_line(line, kind, **kwargs)
vals[0]["manual_analytic_tag_ids"] = [(6, 0, line.analytic_tag_ids.ids)]
return vals

0 comments on commit 9ec53e1

Please sign in to comment.