TIP: You can type at any time to perform a new search.
Sale Coupon Fixed Price
sale_coupon_reward_fixed_price · OCA/sale-promotion
- Repository
- OCA/sale-promotion · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Sales Management
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-promotion
- Last tracking update
- 2026-08-07 07:47:46
- Authors
- Odoo Community Association (OCA), Cetmix, Ooops
- Maintainers
- Odoo Community Association (OCA), Cetmix, Ooops
- Committers
- GabbasovDinar, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Alessandro Uffreduzzi, Andrey Solodovnikov, i1
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_coupon_domain_product_reward_fixed_price, sale_coupon_reward_fixed_price_order_line_link
- Description
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
coupon_program_view_form_common |
coupon.program.view.form | coupon.program | form | Inherits coupon.coupon_program_view_form_common |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals)@api.modelOverride method to ignore creation of `discount_line_product_id` if current program with reward type is `fixed_price`
New fields (2)
-
price_unitFloatdefault=0 -
reward_typeSelectionselection_add=[('fixed_price', 'Fixed Price')]
-
name_get(self)Override core method to change description for the reward with `domain_product` discount criterion
New fields (0)
No new fields.
Public methods (0)No public methods.