mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] account_rec_set_partner: to Odoo 15.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
'name': 'Reconcile Model Set Partner',
|
||||
'version': '14.0.1.0.0',
|
||||
'version': '15.0.1.0.0',
|
||||
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||
'category': 'Accounting',
|
||||
'summary': 'Reconcile Model can now set the Partner when matched.',
|
||||
|
||||
@@ -15,6 +15,10 @@ class AccountReconcileModel(models.Model):
|
||||
"""
|
||||
def _apply_rules(self, st_lines, excluded_ids=None, partner_map=None):
|
||||
''' Apply criteria to get candidates for all reconciliation models.
|
||||
|
||||
This function is called in enterprise by the reconciliation widget to match
|
||||
the statement lines with the available candidates (using the reconciliation models).
|
||||
|
||||
:param st_lines: Account.bank.statement.lines recordset.
|
||||
:param excluded_ids: Account.move.lines to exclude.
|
||||
:param partner_map: Dict mapping each line with new partner eventually.
|
||||
|
||||
Reference in New Issue
Block a user