Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 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.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

A bridge between Sale Order General Discount(https://github.com/OCA/sale-workflow/tree/14.0/sale_order_general_discoun) and Sale Triple Discount(https://github.com/OCA/sale-workflow/tree/14.0/sale_triple_discount) module to set the general discount on any of the 3 discount field on sale order lines.

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 1

XML IDNameModelTypeStatus
res_config_settings_form_view res.config.settings.form.view res.config.settings form Inherits base.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (2)
  • general_discount Selection
    config_parameter='sale_order_general_discount_triple.general_discount' required=False args: [('discount1', 'Discount 1'), ('discount2', 'Discount 2'), ('discount3', 'Discount 3')]
  • pricelist_discount Selection
    config_parameter='sale_order_general_discount_triple.pricelist_discount' required=False args: [('discount1', 'Discount 1'), ('discount2', 'Discount 2'), ('discount3', 'Discount 3')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_general_discount(self)
    @api.onchange('general_discount')

New fields (3)
  • discount1 Float
    compute='_compute_discount1' readonly=False store=True
  • discount2 Float
    compute='_compute_discount2' precompute=True readonly=False store=True
  • discount3 Float
    compute='_compute_discount3' precompute=True readonly=False store=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…