TIP: You can type at any time to perform a new search.
Prices Visible Discounts
product_visible_discount · odoo/odoo
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
product_pricelist— Class 'product_pricelist' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceproduct_pricelist— Class 'product_pricelist' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceproduct_pricelist— Class 'product_pricelist' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_line— Class 'sale_order_line' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Sales
- Folder size
- 0.12 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 04:56:43
- Authors
- Maintainers
- None
- Committers
- Olivier Dony, Christophe Simonis, Martin Trigaux, Odoo Translation Bot, Denis Ledoux, Goffin Simon, Nicolas Martinelli, qdp-odoo, Damien Bouvy, Yannick Tivisse, qsm-odoo
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module lets you calculate discounts on Sale Order lines and Invoice lines base on the partner's pricelist. =============================================================================================================== To this end, a new check box named 'Visible Discount' is added to the pricelist form. **Example:** For the product PC1 and the partner "Asustek": if listprice=450, and the price calculated using Asustek's pricelist is 225. If the check box is checked, we will have on the sale order line: Unit price=450, Discount=50,00, Net price=225. If the check box is unchecked, we will have on Sale Order and Invoice lines: Unit price=225, Discount=0,00, Net price=225.
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_view_form |
product.pricelist.form | product.pricelist | form | Inherits product.product_pricelist_view |
product_pricelist_view_tree |
product.pricelist.tree | product.pricelist | tree | Inherits product.product_pricelist_view_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (0)
No models found for this module.
Loading…
Loading…
Loading…