TIP: You can type at any time to perform a new search.
Bank statement completion from bank account number
account_statement_bankaccount_completion · OCA/account-reconcile
- Repository
- OCA/account-reconcile · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Finance
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.acsone.eu
- Last tracking update
- 2026-08-07 07:03:11
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV
- Committers
- Stéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Add a completion method based on the partner bank account number provided by the bank/office. Completion will look in the partner with that bank account number to match the partner, then it will fill in the bank statement line with it to ease the reconciliation.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_from_bank_account(self, cr, uid, st_line, context=None)Match the partner based on the partner account number field Then, call the generic st_line method to complete other values. :param dict st_line: read of the concerned account.bank.statement.line :return: A dict of value that can be passed directly to the write method of the statement line or {} {'partner_id': value, 'account_id' : value, ...}
New fields (0)
No new fields.
Public methods (1)-
search_by_acc_number(self, cr, uid, acc_number, context=None)Try to find the Account Number using a 'like' operator to avoid problems with the input mask used to store the value.
Loading…