mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconcile_analytic_tag: Add kwargs on _get_reconcile_line
This commit is contained in:
@@ -6,15 +6,7 @@ from odoo import models
|
|||||||
class AccountReconcileAbstract(models.AbstractModel):
|
class AccountReconcileAbstract(models.AbstractModel):
|
||||||
_inherit = "account.reconcile.abstract"
|
_inherit = "account.reconcile.abstract"
|
||||||
|
|
||||||
def _get_reconcile_line(
|
def _get_reconcile_line(self, line, kind, **kwargs):
|
||||||
self, line, kind, is_counterpart=False, max_amount=False, from_unreconcile=False
|
vals = super()._get_reconcile_line(line, kind, **kwargs)
|
||||||
):
|
|
||||||
vals = super()._get_reconcile_line(
|
|
||||||
line=line,
|
|
||||||
kind=kind,
|
|
||||||
is_counterpart=is_counterpart,
|
|
||||||
max_amount=max_amount,
|
|
||||||
from_unreconcile=from_unreconcile,
|
|
||||||
)
|
|
||||||
vals[0]["manual_analytic_tag_ids"] = [(6, 0, line.analytic_tag_ids.ids)]
|
vals[0]["manual_analytic_tag_ids"] = [(6, 0, line.analytic_tag_ids.ids)]
|
||||||
return vals
|
return vals
|
||||||
|
|||||||
Reference in New Issue
Block a user