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 9 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.11 MB
Module directory on disk
Code analysis 1 migration note 2 models 2 views 0 HTTP endpoints

Description

This module allows to have three discounts on every sale order 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
report_saleorder_document_triple_discount report_saleorder_document_triple_discount ir.ui.view qweb Inherits sale.report_saleorder_document
sale_order_triple_discount_form_view sale.order.triple.discount.form sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (1)
  • action_apply_discount(self)

New fields (3)
  • discount Float
    compute='_compute_discount' compute_sudo=True digits=None precompute=True store=True string='Total Disc (%)'
  • discount1 Float
    compute='_compute_discount1' compute_sudo=True digits='Discount' precompute=True readonly=False store=True string='Disc. 1 (%)'
  • discounting_type Selection
    default='multiplicative' help='Specifies whether discounts should be additive or multiplicative.\nAdditive discounts are summed first and then applied.\nMultiplicative discounts are applied sequentially.\nMultiplicative discounts are default' required=True selection=[('additive', 'Additive'), ('multiplicative', 'Multiplicative')]
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…