TIP: You can type at any time to perform a new search.
Coupons Selection Wizard
sale_coupon_selection_wizard · OCA/sale-promotion
- Repository
- OCA/sale-promotion · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sale
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-promotion
- Last tracking update
- 2026-08-07 07:57:18
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- David, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_coupon_order_suggestion, website_sale_coupon_selection_wizard
- Description
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
configure |
Configure Promotion | ir.ui.view | qweb | New |
coupon_selection_wizard_view_form |
coupon.selection.wizard | form | New | |
promotion_wizard_product_card |
Product Card | ir.ui.view | qweb | New |
promotion_wizard_reward_card |
promotion_wizard_reward_card | ir.ui.view | qweb | New |
view_order_form |
sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/sale_coupon_selection_wizard/apply |
CouponSelectionWizardController.apply_promotion |
public | json | POST | |
/sale_coupon_selection_wizard/configure |
CouponSelectionWizardController.configure_promotion |
public | json | POST | sudo |
Models touched (3)
New fields (6)
-
available_coupon_program_idsMany2many → coupon.programcomodel_name='coupon.program'compute='_compute_available_coupon_program_ids' -
coupon_program_idMany2one → coupon.programcomodel_name='coupon.program'default=False -
coupon_reward_nameCharrelated='coupon_program_id.reward_id.display_name'string='Reward Name' -
order_idMany2one → sale.ordercomodel_name='sale.order' -
pricelist_idMany2onerelated='order_id.pricelist_id' -
promotion_line_idsOne2many → coupon.selection.wizard.linecomodel_name='coupon.selection.wizard.line'inverse_name='wizard_id'
No public methods.
New fields (10)
-
criteria_idMany2one → coupon.criteriacomodel_name='coupon.criteria'readonly=True -
criteria_qtyIntegerreadonly=True -
current_order_quantityIntegerhelp='Stores the quantity currently available in the order for this product'readonly=True -
optionalBooleanreadonly=True -
product_idMany2one → product.productcomodel_name='product.product'readonly=True -
program_idMany2one → coupon.programcomodel_name='coupon.program'readonly=True -
qty_to_addIntegerreadonly=True -
repeat_productBooleanrelated='criteria_id.repeat_product' -
rule_min_quantityIntegerrelated='criteria_id.rule_min_quantity' -
wizard_idMany2one → coupon.selection.wizardcomodel_name='coupon.selection.wizard'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_open_promotions_wizard(self)
Loading…