Purchase Order General Discount
purchase_order_general_discount · OCA/purchase-workflow
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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.07 MB
Module directory on disk
Code analysis
0 migration notes
4 models
3 views
0 HTTP endpoints
Description
This module allows to set a general discount in a purchase order. This general discount is applied to each line order.
You can also set a default general discount on suppliers and configure to which line field the discount will be applied.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order | form | Inherits purchase.purchase_order_form | |
res_config_settings_view_form_purchase |
res.config.settings.view.form.inherit.purchase | res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase |
res_partner_form_view |
res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
general_discountFloatdigits='Discount'string='Gen. Disc. (%)'
-
action_update_general_discount(self) -
onchange_general_discount(self)@api.onchange('general_discount') -
onchange_partner_id(self)@api.onchange('partner_id')
New fields (1)
-
purchase_general_discount_fieldSelectiondefault='discount'help='Set the purchase line discount field in which the discounts will be applied.'selection='_get_purchase_discount_fields'string='Purchase Discount Field'
No public methods.
New fields (1)
-
purchase_general_discount_fieldSelectionreadonly=Falserelated='company_id.purchase_general_discount_field'
No public methods.
New fields (1)
-
purchase_general_discountFloatcompany_dependent=Truedigits='Discount'string='Purchase General Discount (%)'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…