| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/15.0/website_sale_coupon |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Website/Website |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | |
| MAINTAINERS | |
| MAINTAINERS | |
| COMMITTERS | |
| COMMITTERS | Odoo Translation Bot, Martin Trigaux, Thibault Delavallée, Jeremy Kersten, GitHub, Yannick Tivisse, Romain Derie, Adrian Torres, Xavier-Do, Joseph Caburnay, Julien Mougenot, William Braeckman, Antoine Vandevenne (anv), xO-Tx |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:25:28 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - digest - base - base_setup - web - bus - web_tour - portal - web_editor - http_routing - auth_signup - resource - social_media - google_recaptcha - utm - sale - sales_team - payment - account - product - uom - analytic - website_payment - website_mail - portal_rating - rating - website_links - link_tracker - sale_coupon - coupon |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon and promotion codes to share in order to boost your sales (free products, discounts, etc.). Shoppers can use them in the eCommerce checkout.
Coupon & promotion programs can be edited in the Catalog menu of the Website app.
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cart_discount |
Show Discount in Subtotal | ir.ui.view | qweb | Inherits website_sale.total |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_summary |
coupon_share_view_form |
coupon.share.form | coupon.share | form | New |
coupon_view_tree |
coupon.coupon.tree | coupon.coupon | button | Inherits coupon.coupon_view_tree |
layout |
layout | ir.ui.view | qweb | Inherits website.layout |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form |
res.config.settings.view.form.inherit.website.sale.coupon | res.config.settings | xpath | Inherits website.res_config_settings_view_form |
sale_coupon_program_view_form_common_website |
coupon.program.common.form | coupon.program | group | Inherits coupon.coupon_program_view_form_common |
sale_coupon_program_view_tree_website |
coupon.program.tree | coupon.program | field | Inherits coupon.coupon_program_view_tree |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
No new fields.
Public methods (1)action_coupon_share(self)
No new fields.
Public methods (1)action_program_share(self)
coupon_id
Many2one → coupon.coupon
domain="[('program_id', '=', program_id)]"
args: 'coupon.coupon'
program_id
Many2one → coupon.program
domain=['|', ('program_type', '=', 'coupon_program'), ('promo_code_usage', '=', 'code_needed')]
required=True
args: 'coupon.program'
program_website_id
Many2one → website
related='program_id.website_id'
string='Program Website'
args: 'website'
promo_code
Char
compute='_compute_promo_code'
redirect
Char
default='/shop'
required=True
share_link
Char
compute='_compute_share_link'
website_id
Many2one → website
default=_get_default_website_id
required=True
args: 'website'
action_generate_short_link(self)
create_share_action(self, coupon=None, program=None)
No new fields.
Public methods (2)get_promo_code_error(self, delete=True)
recompute_coupon_lines(self)
No new fields.
Public methods (1)sale_reset(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/14.0/website_sale_coupon |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Website/Website |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | |
| MAINTAINERS | |
| MAINTAINERS | |
| COMMITTERS | |
| COMMITTERS | Raphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Jeremy Kersten, Yannick Tivisse, Pierre Masereel, Romain Derie, Xavier-Do, Andrea Grazioso (agr-odoo), fw-bot, William Braeckman |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:14:29 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - digest - base - base_setup - web - bus - web_tour - portal - web_editor - http_routing - auth_signup - resource - social_media - sale - sales_team - payment - account - product - uom - analytic - utm - website_payment - website_mail - website_form - google_recaptcha - portal_rating - rating - sale_coupon - coupon |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon and promotion codes to share in order to boost your sales (free products, discounts, etc.). Shoppers can use them in the eCommerce checkout.
Coupon & promotion programs can be edited in the Catalog menu of the Website app.
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_tests |
Website Sale Coupon Assets Tests | ir.ui.view | qweb | Inherits web.assets_tests |
cart_discount |
Show Discount in Subtotal | ir.ui.view | qweb | Inherits website_sale.total |
cart_popover |
Cart Popover | ir.ui.view | qweb | Inherits website_sale.cart_popover |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_summary |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form |
res.config.settings.view.form.inherit.website.sale.coupon | res.config.settings | xpath | Inherits website.res_config_settings_view_form |
sale_coupon_program_view_form_common_website |
coupon.program.common.form | coupon.program | group | Inherits coupon.coupon_program_view_form_common |
sale_coupon_program_view_tree_website |
coupon.program.tree | coupon.program | field | Inherits coupon.coupon_program_view_tree |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
website_sale_coupon_cart_summary_show_img |
website_sale_coupon_cart_summary_show_img | ir.ui.view | qweb | Inherits website_sale.cart_summary |
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)get_promo_code_error(self, delete=True)
| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/13.0/website_sale_coupon |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Website/Website |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | |
| MAINTAINERS | |
| MAINTAINERS | |
| COMMITTERS | |
| COMMITTERS | Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Jeremy Kersten, Damien Bouvy, Yannick Tivisse, qsm-odoo, Odoo Online, Romain Derie, Jorge Pinna Puissant, Adrian Torres, Xavier-Do, Andrea Grazioso (agr-odoo), Sébastien Theys, Florent de Labarre, fw-bot, momegahed |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:06:43 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - web - base - web_editor - http_routing - portal - base_setup - bus - web_tour - auth_signup - social_media - sale - sales_team - payment - account - product - uom - analytic - digest - resource - utm - website_payment - website_mail - website_form - website_rating - rating - sale_coupon - sale_management |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon and promotion codes to share in order to boost your sales (free products, discounts, etc.). Shoppers can use them in the eCommerce checkout.
Coupon & promotion programs can be edited in the Catalog menu of the Website app.
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_tests |
Website Sale Coupon Assets Tests | ir.ui.view | qweb | Inherits web.assets_tests |
cart_discount |
Show Discount in Subtotal | ir.ui.view | qweb | Inherits website_sale.total |
cart_popover |
Cart Popover | ir.ui.view | qweb | Inherits website_sale.cart_popover |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_summary |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form |
res.config.settings.view.form.inherit.website.sale.coupon | res.config.settings | xpath | Inherits website.res_config_settings_view_form |
sale_coupon_program_view_form_common_website |
sale.coupon.program.common.form | sale.coupon.program | group | Inherits sale_coupon.sale_coupon_program_view_form_common |
sale_coupon_program_view_tree_website |
sale.coupon.program.tree | sale.coupon.program | field | Inherits sale_coupon.sale_coupon_program_view_tree |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
website_sale_coupon_cart_summary_show_img |
website_sale_coupon_cart_summary_show_img | ir.ui.view | qweb | Inherits website_sale.cart_summary |
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)get_promo_code_error(self, delete=True)