diff --git a/account_rec_set_partner/__manifest__.py b/account_rec_set_partner/__manifest__.py index e08b1111..e5c01cda 100644 --- a/account_rec_set_partner/__manifest__.py +++ b/account_rec_set_partner/__manifest__.py @@ -1,6 +1,6 @@ { 'name': 'Reconcile Model Set Partner', - 'version': '14.0.1.0.0', + 'version': '15.0.1.0.0', 'author': 'Hibou Corp. ', 'category': 'Accounting', 'summary': 'Reconcile Model can now set the Partner when matched.', diff --git a/account_rec_set_partner/models/account.py b/account_rec_set_partner/models/account.py index 8bd38a28..e5fb0d53 100644 --- a/account_rec_set_partner/models/account.py +++ b/account_rec_set_partner/models/account.py @@ -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.