TIP: You can type at any time to perform a new search.
Purchase Order General Discount
purchase_order_general_discount · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchases
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 09:06:27
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, Antoni Marroig Campomar
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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…