TIP: You can type at any time to perform a new search.
Bank statement Sale Order completion
account_statement_so_completion · OCA/account-reconcile
- Repository
- OCA/account-reconcile · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Finance
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:03:11
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp
- Committers
- Stéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module improve the module account_statement_base_completion to add support for completion rules based on Sale Orders. This was initially part of the module account_statement_base_completion, but is now separate to keep dependencies separate. This module provides the following rule: 1) Match from statement line reference (based on SO number)
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
get_from_ref_and_so(self, cr, uid, st_line, context=None)Match the partner based on the SO number and the reference of the statement line. Then, call the generic get_values_for_line method to complete other values. If more than one partner matched, raise the ErrorTooManyPartner error. :param int/long 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, ...}
Loading…