Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 8.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.18 MB
Module directory on disk
Code analysis 1 migration note 2 models 2 views 0 HTTP endpoints

Description

This module allows to have three successive discounts on each invoice line.

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_triple_discount_form_view account.invoice.triple.discount.form account.move form Inherits account.view_move_form
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • discount Float
    compute='_compute_discount' digits=None readonly=True store=True string='Total discount'
  • discount1 Float
    digits='Discount' string='Discount 1 (%)'
  • discount2 Float
    digits='Discount' string='Discount 2 (%)'
  • discount3 Float
    digits='Discount' string='Discount 3 (%)'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…