Skip to content
Health
52/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 7.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.12 MB
Module directory on disk
Code analysis 8 migration notes 3 models 4 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_vat_on_payment

Code analysis

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

Views touched 4

XML IDNameModelTypeStatus
view_account_config_settings view_account_config_settings account.config.settings Inherits account.view_account_config_settings
view_vendor_payment_form view_vendor_payment_form account.voucher form Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_dialog_form view_vendor_receipt_dialog_form account.voucher form Inherits account_voucher.view_vendor_receipt_dialog_form
view_vendor_receipt_form view_vendor_receipt_form account.voucher form Inherits account_voucher.view_vendor_receipt_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

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

New fields (0)

No new fields.

Public methods (5)
  • allocated_amounts_grouped_by_invoice(self, cr, uid, voucher, context=None)
    this method builds a dictionary in the following form { first_invoice_id: { 'allocated': 120.0, 'total': 120.0, 'total_currency': 0.0, 'write-off': -20.0, 'allocated_currency': 0.0, 'foreign_currency_id': False, # int 'currency-write-off': 0.0, } second_invoice_id: { 'allocated': 50.0, 'total': 100.0, 'total_currency': 0.0, 'write-off': 0.0, 'allocated_currency': 0.0, 'foreign_currency_id': False, 'currency-write-off': 0.0, } } every amout is expressed in company currency. In order to compute cashed amount correctly, write-off will be subtract to reconciled amount. If more than one invoice is paid with this voucher, we distribute write-off equally (if allowed)
  • balance_move(self, cr, uid, move_id, context=None)
  • get_invoice_total(self, invoice)
  • get_invoice_total_currency(self, invoice)
  • voucher_move_line_create(self, cr, uid, voucher_id, line_total, move_id, company_currency, current_currency, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…