TIP: You can type at any time to perform a new search.
Bank statement completion from label
account_statement_completion_label · OCA/account-reconcile
- Repository
- OCA/account-reconcile · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Generic Modules/Others
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.akretion.com/
- Last tracking update
- 2026-08-07 07:17:51
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Improve the basic rule "Match from statement line label (based on partner field 'Bank Statement Label')" provided by the Bank statement base completion module. The goal is to match the label field from the bank statement line with a partner and an account. For this, you have to create your record in the new class account.statement.label where you can link the label you want with a partner and an account.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
bank_statement_view_form |
account_statement_completion_label.bank_statement.view_form | account.bank.statement | form | Inherits account.view_bank_statement_form |
bk_view_partner_form |
account_bank_statement_import.view.partner.form | res.partner | form | Inherits account_statement_base_completion.bk_view_partner_form |
statement_label_view_form |
account.statement.label.view | account.statement.label | form | New |
statement_label_view_search |
account.statement.label.search | account.statement.label | search | New |
statement_label_view_tree |
account.statement.label.view | account.statement.label | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (1)-
open_completion_label(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
get_from_label_and_partner_field(self, cr, uid, st_line, context=None)Match the partner and the account based on the name field of the statement line and the table account.statement.label. If more than one statement label matched, raise the ErrorTooManylabel error. :param int line_id: id 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)-
save_and_close_label(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…