TIP: You can type at any time to perform a new search.
Coupon Promotion Discount in Field
sale_promotion_discount_in_field · OCA/sale-promotion
Security findings
Migration considerations
coupon_program_view_form_common— For a target of Odoo 17.0+: view 'coupon_program_view_form_common' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · 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
- OCA/sale-promotion · module folder · Try on Runboat
- Module version
- 1.1.1
- Category
- Sales Management
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-promotion
- Last tracking update
- 2026-08-07 07:47:47
- Authors
- Odoo Community Association (OCA), Cetmix, Ooops
- Maintainers
- Odoo Community Association (OCA), Cetmix, Ooops
- Committers
- GabbasovDinar, Weblate, OCA Transbot, OCA-git-bot, oca-ci, Alessandro Uffreduzzi, Andrey Solodovnikov, diga, Volodiay616
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_coupon_domain_product_discount_in_field, sale_promotion_discount_in_field_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 (4)
New fields (0)
No new fields.
Public methods (1)-
action_view_sales_orders(self)
New fields (1)
-
reward_typeSelectionselection_add=[('discount_line', 'Discount in Line')]
No public methods.
New fields (0)
No new fields.
Public methods (1)-
apply_coupon(self, order, coupon_code)
New fields (0)
No new fields.
Public methods (0)No public methods.