Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 122 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis 7 migration notes 2 models 2 views 0 HTTP endpoints

Description

This module adds a new button on the bank statement line that allows the accountant to instantly create a sales or purchase voucher based on the values of the bank statement line.

This module does not depend on account_banking, but if this module is installed, the bank statement line will be reconciled automatically in the confirmation step of the wizard.

If account_banking is not installed, the accountant will still have to reconcile the associated move line with the move line from the bank statement line manually.

If the wizard is cancelled,the created voucher will be deleted again.

Known limitations:

Currency conversion and payment difference writeoff are not yet supported.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
instant_voucher_form Instant voucher form view account.voucher.instant form New
view_banking_bank_statement_form Add instant voucher button to bank statement line on statement form account.bank.statement form Inherits account_voucher.view_bank_statement_form_voucher

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (1)
  • create_instant_voucher(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (6)
  • cancel(self, cr, uid, ids, context=None)
    Delete the voucher and close window
  • confirm(self, cr, uid, ids, context=None)
    Post the voucher if necessary Post the voucher's move lines if necessary Sanity checks on currency and residual = 0.0 If the account_banking module is installed, perform matching and reconciliation. If not, the user is left to manual reconciliation of OpenERP.
  • create_voucher(self, cr, uid, ids, context=None)
    Create a fully fledged voucher counterpart for the statement line. User only needs to process taxes and may adapt cost/income account.
  • default_get(self, cr, uid, fields_list, context=None)
    Gather sane default values from the originating statement line
  • dummy(self, cr, uid, ids, context=None)
  • get_voucher_defaults(self, cr, uid, vals, context=None)
    Gather conditional defaults based on given key, value pairs :param vals: dictionary of key, value pairs :returns: dictionary of default values for fields not in vals

Loading…

Loading…

Loading…

Loading…