Repository
OCA/bank-payment · module folder · Try on Runboat
Module version
1.0r028
Category
Base
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://therp.nl
Last tracking update
2026-08-07 07:17:52
Authors
Odoo Community Association (OCA), Therp BV
Maintainers
Odoo Community Association (OCA), Therp BV
Committers
Pedro M. Baeza
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.
    

Code Analysis

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…