Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 14.0

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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

Description

This module allows to show the total discount amount applied to an invoice, both in the backend and the invoice PDF report.

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
invoice_discount_display_amount_document invoice_discount_display_amount_document ir.ui.view qweb Inherits account.report_invoice_document
view_move_form_display_discount view.move.form.display.discount account.move form Inherits account.view_move_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • discount_total Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True
  • price_total_no_discount Monetary
    compute='_compute_discount_total' currency_field='currency_id' store=True string='Total Without Discount'
Public methods (0)

No public methods.

New fields (2)
  • discount_total Monetary
    compute='_compute_discount_amount' store=True
  • price_total_no_discount Monetary
    compute='_compute_discount_amount' store=True string='Total Without Discount'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…