Search 1.9 billion lines of Odoo code on GitHub

account_operation_rule

Author: Camptocamp, Odoo Community Association (OCA)
License: AGPL-3
Branch: 9.0
Repository: aaltinisik/account-reconcile
Dependencies: account, and decimal_precision
Languages: JavaScript (46, 0.7%), PO File (5670, 89.2%), Python (463, 7.3%), XML (105, 1.7%), and reStructuredText (70, 1.1%)
Other branches: 10.0
Other repositories: AbdulrhmanGad/account-reconcile, Alfa-90/account-reconcile, BT-tpiric/account-reconcile, Change2improve/account-reconcile, ClearCorp/oca-bank-statement-reconcile, Colorlessgold/account-reconcile, Comunitea/account-reconcile, DarioLodeiros/account-reconcile, ERPLibre/account-reconcile, ElvenStudio/bank-statement-reconcile, ForgeFlow/account-reconcile, Gabinete-Digital/account-reconcile, Glue-Software-Engineering-AG/bank-statement-reconcile, Gofekra/account-reconcile, Guobower/account-reconcile, Hasnur/bank-statement-reconcile, Ingeos/bank-statement-reconcile, JibenCL/account-reconcile, JordiBForgeFlow/bank-statement-reconcile, LevelPrime/account-reconcile, MathBenTech/account-reconcile, MindAndGo/bank-statement-reconcile, NeatNerdPrime/account-reconcile, OCA-MUK/account-reconcile, OCA/account-reconcile, SAFAD/bank-statement-reconcile, SanteLibre/account-reconcile, SeuMarco/bank-statement-reconcile, Studio73/account-reconcile, SylvainLosey/account-reconcile, TDu/account-reconcile, TRESCLOUD/account-reconcile, Tecnativa/account-reconcile, Tonow-c2c/account-reconcile, VisiionSolucionesTecnologicas/account-reconcile, WhiteTiger08/account-reconcile, acsone/account-reconcile, adolfoeliazat/bank-statement-reconcile, ajaniszewska-dev/account-reconcile, akretion/account-reconcile, alexlafalce/bank-statement-reconcile, amalbensalem/account-reconcile, amendoncabh/bank-statement-reconcile, andhit-r/bank-statement-reconcile, anhvu-sg/account-reconcile, apachesep/bank-statement-reconcile, apetbiz/account-reconcile, aroodooteam/account-reconcile, aurestic/bank-statement-reconcile, bishalgit/account-reconcile, bmya/account-reconcile, bodi000/account-reconcile, brain-tec/bank-statement-reconcile, camptocamp/account-reconcile, captivea-dcr/account-reconcile, coopiteasy/account-reconcile, cyrilgdn/bank-statement-reconcile, damdam-s/bank-statement-reconcile, damendieta/account-reconcile, daramousk/bank-statement-reconcile, davidwul/bank-statement-reconcile, dev00007/bank-statement-reconcile, diagramsoftware/bank-statement-reconcile, dong-z/account-reconcile, ecino/bank-statement-reconcile, ecosoft-odoo/account-reconcile, exosoftware/oca-account-reconcile, fcayre/account-reconcile, grindtildeath/account-reconcile, guewen/bank-statement-reconcile, gurneyalex/account-reconcile, haroldtamo/account-reconcile, hbrunn/bank-statement-reconcile, huntergps/account-reconcile, i-vyshnevska/account-reconcile, it-projects-llc/bank-statement-reconcile, jcoux/account-reconcile, jpvs1978/bank-statement-reconcile, kenvac/account-reconcile, kmee/bank-statement-reconcile, magnuscolors/account-reconcile, mdietrichc2c/bank-statement-reconcile, mjadily/bank-statement-reconcile, mpanarin/account-reconcile, murtuzasaleh/account-reconcile, nicolasjelincic/account-reconcile, o2deepak-zz/account-reconcile, odoobgorg/OCA-bank-statement-reconcile, one2pret/account-reconcile, onixus74/account-reconcile, open-net-sarl/account-reconcile, ovnicraft/account-reconcile, p-tombez/account-reconcile, popcomputadores-desenv/account-reconcile, pscloud/account-reconcile, puchisco/bank-statement-reconcile, rdeheele/account-reconcile, robertrottermann/account-reconcile, royalline1/account-reconcile, rsullivan2704/account-reconcile, sagar-developer-92/bank-statement-reconcile, sanube/account-reconcile, sebalix/account-reconcile, sendalpegat/account-reconcile, serpentcs-dev1/bank-statement-reconcile, sewisoft/account-reconcile, srihas070/account-reconcile, steingabelgaard/bank-statement-reconcile, tegin/account-reconcile, thinkopensolutions/oca-bank-statement-reconcile, tirma-sa/account-reconcile, tschanzt/account-reconcile, unitek-solusi/OCA-account-reconcile, ursais/account-reconcile, valmarnet/account-reconcile, vdedyukhin/account-reconcile, vidtsin/account-reconcile, vrenaville/bank-statement-reconcile, wahhid/bank-statement-reconcile, westlyou/account-reconcile, and xpansa/bank-statement-reconcile

<img alt="License" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="bank-statement-operation-rules"></a> <h2>Bank Statement Operation Rules</h2> <p>This module complements the Reconciliation of the bank statements. When the bank statement matches one or more journal entry for a line and there is a remaining balance, Odoo proposes you to click on buttons that will generate write-off entries according to pre-configured <em>Statement Operation Templates</em>. The aim of this module is to automatically click for you on these buttons (i.e. create the write-off journal entries) when some rules are respected, rules that you can configure.</p> <p>It contains 2 types of rules (but can be extended with additional rules), described below:</p> <dl class="docutils"> <dt>Roundings</dt> <dd>The most basic rule: when the remaining balance is within a range, 1 or more operations are applied.</dd> <dt>Currencies</dt> <dd>When the remaining balance is within a range and the currency of all the lines is the same but different from the company's, and the amount currency is the same, 1 or more operations are applied.</dd> </dl> <a name="configuration"></a> <h3>Configuration</h3> <p>As this module aims to automatize the <code>Reconciliation Models</code>, you first want to ensure that you have at least one operation configured. You can find them in <code>Invoicing &gt; Dashboard &gt; Bank card &gt; More &gt; Reconciliation Models</code>. An example of a common operation is:</p> <table class="docutils"> <colgroup> <col width="32%" /> <col width="43%" /> <col width="12%" /> <col width="13%" /> </colgroup> <thead valign="bottom"> <tr><th class="head">Account</th> <th class="head">Amount Type</th> <th class="head">Amount</th> <th class="head">Label</th> </tr> </thead> <tbody valign="top"> <tr><td>Depends of the l10n</td> <td>Percentage of open balance</td> <td>100.0 %</td> <td>Rounding</td> </tr> </tbody> </table> <p>The configuration of the rules themselves happens in <code>Invoicing &gt; Dashboard &gt; Bank card &gt; More &gt; Reconciliation Rules</code>. Refer to the description of the types of rules above in case of doubt. The form is divided in 2 parts: <strong>Rule</strong> and <strong>Result</strong>. The rule part is where you will set the conditions and the result part is what operations will be done if the conditions are valid.</p> <p>For the <strong>Roundings</strong> rules, you will set a min. and a max. amount. It can be negative or positive. The amount is compared to the remaining balance when lines are matched in the bank statement. Example: if you want to create a move line in a loss account when you received 1.- not enough, you can create a rule with an min. amount of -1.0 and a max. amount of 0.0.</p> <p>For the <strong>Currencies</strong> rules, the min. and max. amount have the same properties, but you will also set the currencies for which the rule applies. Setting the currency allows to configure different amounts according to the currencies.</p> <p>Only the first rule matching the current situation is used, so if you have several rules overlapping for some reason, be sure to order them appropriately in the list view.</p> <a name="usage"></a> <h3>Usage</h3> <p>When you use the <em>Reconcile</em> button of a bank statement, Odoo automatically proposes you matching journal entries for each statement line. This module automatically adds journal entries generated from the <em>Reconciliation Models</em> if a rule matches with the current situation, so there is nothing special to do once the rules are configured.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/98/9.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="credits"></a> <h2>Credits</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li> <li>Cyril Gaudin &lt;<a class="reference external" href="mailto:cyril.gaudin&#64;camptocamp.com">cyril.gaudin&#64;camptocamp.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h3>Maintainer</h3> <a class="reference external image-reference" href="http://odoo-community.org"><img alt="Odoo Community Association" src="http://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>