Website Sale Loyalty Suggestion Wizard
website_sale_loyalty_suggestion_wizard · OCA/sale-promotion
Replaces
website_sale_coupon_selection_wizard (16.0) Health
79/100
good
-
Security22/251 minor finding
-
Activity25/25Last human commit 6 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
0 models
7 views
6 HTTP endpoints
Description
This module makes suggestions for promotions whose rules include a product added to the cart. It also allows you to configure and apply these promotions with an elegant eCommerce wizard.
Dependencies
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- website_sale_loyalty_suggestion_wizard_multi_gift, website_sale_loyalty_suggestion_wizard_multi_product
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
configure |
Configure Promotion | ir.ui.view | qweb | New |
configure_promotion |
Configure Promotion | ir.ui.view | qweb | Inherits website_sale.cart_lines |
promotion_item |
Promotion Item Apply | ir.ui.view | qweb | Inherits website_sale_loyalty_page.promotion_item |
promotion_wizard_product_card |
Product Card | ir.ui.view | qweb | New |
promotion_wizard_reward_card |
promotion_wizard_reward_card | ir.ui.view | qweb | New |
promotion_wizard_reward_product |
promotion_wizard_reward_product | ir.ui.view | qweb | New |
website_sale_loyalty_suggestion |
Promotions suggestions | ir.ui.view | qweb | Inherits website_sale.cart_lines |
HTTP endpoints 6
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | LoyaltyPage.promotion |
inherited | http | ALL | sudo |
| (inherited route override) | WebsiteSaleLoyaltySuggestionWizard.cart |
inherited | http | ALL | sudo |
/promotions/dismiss |
WebsiteSaleLoyaltySuggestionWizard.promotion_in_cart_dismiss |
public | http | ALL | website |
/promotions/<int:program_id>/apply |
WebsiteSaleLoyaltySuggestionWizard.promotion_program_apply |
public | http | ALL | sudo website |
/website_sale_loyalty_suggestion_wizard/apply |
WebsiteSaleLoyaltySuggestionWizardController.apply_promotion_public |
public | json | POST | sudo |
/website_sale_loyalty_suggestion_wizard/get_defaults |
WebsiteSaleLoyaltySuggestionWizardController.get_default_products |
public | json | POST | sudo |
Models touched 0
No models found for this module.
Loading…
Loading…