Satement voucher killer
statement_voucher_killer · OCA/account-reconcile
-
Security25/25No findings
-
Activity0/25Last human commit 141 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountStatementFromInvoiceLines— Class 'AccountStatementFromInvoiceLines' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Prevent voucher creation when importing lines into statement
When importing invoice or payment into a bank statement or a payment order, normally a draft voucher is created on the line. This module will disable this voucher creation. When importing payment line, date used to populate statement line will be take from imported line in this order:
- Date
- Maturity date
- Related statement date
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_bank_statement_view_form |
account.bank.statement | form | Inherits account.view_bank_statement_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
populate_statement(self, cr, uid, ids, context=None)Taken from payment addon as no hook is vailable. No function no refactoring, just trimming the part that generates voucher
No new fields.
Public methods (1)-
populate_statement(self, cr, uid, ids, context=None)Taken from account voucher as no hook is available. No function no refactoring, just trimming the part that generates voucher