Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 122 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
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.01 MB
Module directory on disk
Code analysis 1 migration note 2 models 1 view 0 HTTP endpoints

Description

Set a minimal price on product and raise a warning if sale price is too low

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_markup

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
sale_floor_price_product_normal_form_view product.normal.form.floor_price product.product form Inherits product.product_normal_form_view

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 (0)

No new fields.

Public methods (3)
  • onchange_discount(self, cr, uid, ids, price_unit, product_id, discount, product_uom, pricelist, **kwargs)
    If discount change, check that final price is not < floor_price_limit of related product
  • onchange_price_unit(self, cr, uid, ids, price_unit, product_id, discount, product_uom, pricelist, **kwargs)
    If price unit change, check that it is not < floor_price_limit of related product. If override_unit_price is True, we put in price_unit the min possible value, otherwise we leave it empty...
  • product_id_change(self, cr, uid, ids, *args, **kwargs)
    Overload method: - Empty the discount when changing.

Loading…

Loading…

Loading…

Loading…