Search 1.9 billion lines of Odoo code on GitHub

account_bank_match

Author: 1200 Web Development
License: no license
Branch: 9.0
Repository: 1200wd/1200wd_addons
Dependencies: account, account_bank_statement_advanced, account_bank_statement_import, decimal_precision, and sale
Languages: HTML (148, 8.6%), Markdown (46, 2.7%), Python (1170, 68.2%), and XML (351, 20.5%)
Other branches: 8.0, 8.0-4171-colli-info-per-carrier, 8.0-4223-statement-match-journal-channel, 8.0-4316-copy-delivery-service-level-time-on-DO, 8.0-4418-extra-bank-matching-rule, 8.0-4637-sales-channel-secure, 8.0-4801-transsmart-analysis, 8.0-fix-empty-spaces, 8.0-handling-cost-in-margin, 8.0-issue4529-wrong-fields, 8.0-margin-post-install-generate-references, 8.0-no-context-prepare-invoice, 8.0-no-copy-transsmart-fields, 8.0-no-noviat-dependency, 8.0-sales-channel-secure, 8.0-stock-forecast-cron-updates, 8.0-transsmart-ari-specific, 8.0-transsmart-logging, 8.0-transsmart-mock, and 8.0-transsmart-refactor
Other repositories: OdooBulgaria/1200wd_addons, daramousk/1200wd_addons, ezdoo/1200wd_addons, grottas/1200wd_addons, haryoran04/1200wd_addons, prodax/1200wd_addons, and shouyejing/1200wd_addons

<h1>Account Bank Match module</h1> <h2>What does the Bank Match Module do?</h2> <p>This module matches every incoming payment with the correct invoice, order or account move. When a new payment comes in and a new bank statement line is created, the Account Bank Match module tries to find a suitable match. It looks for an invoice, sale order or account move with matches with the payment and add a score based on several rules.</p> <p>When a match with a high enough score is found the payment can be automatically processed and reconciled. If you prefer you can also select the matching invoice or sale order manually from a list with more information.</p> <p>Basically this module does two things: 1. Extract partner, invoice, sale order information from bank statement lines and add them to a list of matches with a score 2. Automatically process and reconcile bank payments</p> <p>The module works out-of-the-box for most Odoo installations. The module includes a list of Match Rules which define which information to extract from the bank statement lines and a score system. You can however change these rules, add rules or set up your own score extraction and score system without through the web-interface, without any coding.</p> <h2>Short Technical Description</h2> <h3>Bank Statement Line</h3> <p>When a new Bank Statement Line is created, or when the &#39;match&#39; button is clicked in the Bank Statement view the match or account<em>bank</em>match method are called.</p> <h5>1. Extract partner, invoice, sale order information from bank statement lines and add them to a list of matches with a score</h5> <ul> <li><p>create(vals)</p> <ul> <li>call match()</li> </ul></li> <li><p>action<em>statement</em>line_match()</p> <ul> <li>call account<em>bank</em>match()</li> </ul></li> </ul> <p>The match method looks for the most suitable match for a bank statement line. If 1 wining match is found and this is an invoice then add a link this invoice to the bank statement line. If the winning match is a sale order then create and invoice first.</p> <ul> <li><p>match(vals)</p> <ul> <li>call account<em>bank</em>match()</li> <li>call order<em>invoice</em>lookup(vals)</li> </ul></li> <li><p>account<em>bank</em>match()</p> <ul> <li>remove old matches</li> <li>winning<em>match = match</em>search()</li> <li>add all matches and scores to match table</li> <li>return wining match if found</li> </ul></li> <li><p>match_search()</p> <ul> <li>Find partner through bank account number</li> <li>Extract reference numbers from bank statement line</li> <li>Run match rules on invoices, sale orders and account.moves</li> <li>Calculate bonuses for already found matches</li> <li>Sort, cleanup and return results</li> </ul></li> </ul> <h5>2. Automatically process and reconcile bank payments</h5> <ul> <li><p>auto_reconcile()</p> <ul> <li>One invoice with an residual amount is found?</li> <li>Then call pay<em>invoice</em>and_reconcile()</li> <li>Link sale order, invoice and/or account moves with statement line</li> </ul></li> <li><p>pay<em>invoice</em>and_reconcile()</p> <ul> <li>Create account move lines</li> <li>Write off payment differences</li> <li>Reconcile or Partial reconcile if not fully paid</li> </ul></li> </ul> <h2>Account Bank Statement</h2> <p>Allows you to match all lines of a bank statement at once. </p> <ul> <li>action<em>statement</em>match() <ul> <li>For every statement line: <ul> <li>Call match()</li> <li>Call auto_reconcile()</li> </ul></li> </ul></li> </ul>