Skip to content
Health
58/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 62 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 10.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.1 MB
Module directory on disk
Code analysis 1 migration note 3 models 5 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_cash_discount_payment

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
account_move_form account.move.form (account_cash_discount_base) account.move form Inherits account.view_move_form
account_move_tree_view account.move.tree (in account_cash_discount_base) account.move tree Inherits account.view_invoice_tree
account_payment_term_form_view account.payment.term.form (in account_cash_discount_base) account.payment.term form Inherits account.view_payment_term_form
report_invoice_document_inherit report_invoice_document_inherit ir.ui.view qweb Inherits account.report_invoice_document
res_company_form_view res.company.form (in account_cash_discount_base) res.company form Inherits base.view_company_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (12)
  • amount_total_with_discount Monetary
    compute='_compute_amount_total_with_discount' store=True string='Total (with discount)'
  • discount_amount Monetary
    compute='_compute_discount_amount' store=True
  • discount_base_date Date
    compute='_compute_discount_base_date'
  • discount_delay Integer
    readonly=True states=READONLY_STATES string='Discount Delay (days)'
  • discount_due_date Date
    readonly=True states=READONLY_STATES
  • discount_due_date_readonly Date
    compute='_compute_discount_due_date'
  • discount_percent Float
    digits='Discount' readonly=True states=READONLY_STATES string='Discount (%)'
  • has_discount Boolean
    compute='_compute_has_discount' store=True
  • is_cash_discount_allowed Boolean
    compute='_compute_is_cash_discount_allowed'
  • real_discount_amount Monetary
    compute='_compute_real_discount_amount' string='Discount amount (minus related refunds amount)'
  • refunds_discount_amount Monetary
    compute='_compute_refunds_discount_amount' store=True
  • residual_with_discount Monetary
    compute='_compute_residual_with_discount'
Public methods (1)
  • action_post(self)

New fields (2)
  • discount_delay Integer
    string='Discount Delay (days)'
  • discount_percent Float
    digits='Discount' string='Discount (%)'
Public methods (0)

No public methods.

New fields (2)
  • cash_discount_base_amount_type Selection
    default='untaxed' required=True selection='_get_cash_discount_base_amount_types'
  • cash_discount_use_tax_adjustment Boolean
    compute='_compute_cash_discount_tax_adjustment' store=True
Public methods (0)

No public methods.

Loading…

Loading…