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

Description

A lot of businesses don't set different prices according to the quantity of the product to sell, and they find it very annoying to set a manual discount after the negotiation with the customer, only to see it changed when they vary the demanded quantity.

Since Odoo 18.0, the unit price is natively protected from recomputation when modified manually (via the technical_price_unit field). However, the discount and pricelist_item_id fields are still recomputed when the quantity or unit of measure changes.

This module prevents this by avoiding the recomputation of the discount and pricelist item fields if only the quantity or unit of measure has been changed in the sales 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 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 0

No models found for this module.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…