Bank Statement Operation Rules with Dunning Fees

account_statement_operation_rule_dunning_fees
REPOSITORY
REPOSITORYOCA/account-reconcile
GIT
GIThttps://github.com/OCA/account-reconcile.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-reconcile/tree/8.0/account_statement_operation_rule_dunning_fees
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSCamptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSGuewen Baconnier, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_credit_control_dunning_fees
    - account_credit_control
OCA/account-reconcile:
    - account_statement_operation_rule
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_statement_operation_rule_form account.statement.operation.rule.form account.statement.operation.rule group Inherits account_statement_operation_rule.view_account_statement_operation_rule_form
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.