Repository
OCA/account-reconcile · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:03:11
Authors
Camptocamp
Maintainers
Camptocamp
Committers
Guewen Baconnier, Stéphane Bidoul (ACSONE), OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_statement_operation_rule_form account.statement.operation.rule.form account.statement.operation.rule form Inherits account_statement_operation_rule.view_account_statement_operation_rule_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (1)
  • rule_type Selection
    selection_add=[('dunning_fees', 'Dunning Fees')]
Public methods (2)
  • check_dunning_before_rounding(self)
    @api.constrains('sequence')
  • is_valid(self, statement_line, move_lines, balance)
    @api.multi
    Returns True if a rule applies to a group of statement_line + move lines. This is the public method where the rule is evaluated whatever its type is. When a rule returns True, it means that it is a candidate for the current reconciliation. The rule with the lowest number in the ``sequence`` field is chosen. :param statement_line: the line to reconcile :param move_lines: the selected move lines for reconciliation :param balance: the balance between the statement_line and the move_lines. It could be computed here but it is computed before to avoid to compute it for each rule when called on multiple rules.