| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/19.0/website_sale_loyalty |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Website/Website |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo S.A. |
| MAINTAINERS | |
| MAINTAINERS | Odoo S.A. |
| COMMITTERS | |
| COMMITTERS | Odoo Translation Bot, Géry Debongnie, Aaron Bohy, Julien Castiaux, Victor Feyens, Julien Mougenot, Tiffany Chang (tic), Gorash, William Braeckman, Nicolas Bayet, Demesmaeker, Valentin Chevalier, Louis Wicket (wil), Mylyna Hy, Levi Siuzdak (sile), Antoine Boonen, Dylan Kiss (dyki), Valeriya(vchu), Anita (anko), visp-odoo, stefanorigano (SRI), Louis (loti), Serge Bayet (seba), reka-odoo, AMZIL Ayoub, kcv-odoo, dere-odoo, Lina (liew), mano-odoo, sabr, Manushi Shah, Pierre Pulinckx (PIPU), dija-odoo, Pierre Pulinckx, Bastien PIERRE, jeep-odoo, Krzysztof Magusiak (krma), Mahdi Alijani (malj), krip-odoo, Alessandro Lupo, Augustin (duau), Nisarg (nipl), assh-odoo, Lionel Piraux (lipi), khaj-odoo, chpa-odoo, sse |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 01:51:41 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - digest - base - base_setup - web - bus - web_tour - html_editor - portal - http_routing - auth_signup - resource - social_media - google_recaptcha - utm - html_builder - sale - sales_team - account_payment - account - onboarding - product - uom - analytic - payment - website_payment - website_mail - portal_rating - rating - delivery - payment_custom - website_links - link_tracker - sale_loyalty - loyalty |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
geoip2 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon, promotion codes, gift cards and loyalty programs 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_line_product_no_link |
cart_line_product_no_link | ir.ui.view | qweb | Inherits website_sale.cart_lines |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_product_price |
cart_summary_inherit_website_gift_card_sale |
cart_summary_inherit_website_gift_card_sale | ir.ui.view | qweb | Inherits website_sale.cart_summary_content |
coupon_share_view_form |
coupon.share.form | coupon.share | form | New |
layout |
layout | ir.ui.view | qweb | Inherits website.layout |
loyalty_card_view_tree_inherit_website_sale_loyalty |
loyalty.card.view.list.inherit.website.sale.loyalty | loyalty.card | button | Inherits loyalty.loyalty_card_view_tree |
loyalty_program_view_form_inherit_website_sale_loyalty |
loyalty.program.view.form.inherit.website.sale.loyalty | loyalty.program | xpath | Inherits sale_loyalty.loyalty_program_view_form_inherit_sale_loyalty |
loyalty_program_view_tree_inherit_website_sale_loyalty |
loyalty.program.view.list.inherit.website.sale.loyalty | loyalty.program | field | Inherits loyalty.loyalty_program_view_tree |
modify_code_form |
Loyalty, coupon, gift card | ir.ui.view | qweb | Inherits website_sale.total |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form_inherit_website_sale_loyalty |
res.config.settings.view.form.inherit.website.sale.loyalty | res.config.settings | setting | Inherits website_sale.res_config_settings_view_form |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
website_sale_loyalty.cart_lines_quantity |
Shopping Cart Lines | ir.ui.view | qweb | Inherits website_sale.cart_lines_quantity |
website_sale_purchased_gift_card |
website_sale_purchased_gift_card | ir.ui.view | qweb | Inherits website_sale.confirmation |
coupon_id
Many2one → loyalty.card
domain="[('program_id', '=', program_id)]"
args: 'loyalty.card'
program_id
Many2one → loyalty.program
domain=['|', ('program_type', '=', 'coupons'), '|', ('trigger', '=', 'with_code'), ('rule_ids.code', '!=', False)]
required=True
args: 'loyalty.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 (1)action_coupon_share(self)
ecommerce_ok
Boolean
default=True
args: 'Available on Website'
show_non_published_product_warning
Boolean
compute='_compute_show_non_published_product_warning'
action_program_share(self)
website_id
Many2one
related='program_id.website_id'
store=True
No public methods.
No new fields.
Public methods (0)No public methods.
disabled_auto_rewards
Many2many → loyalty.reward
relation='sale_order_disabled_auto_rewards_rel'
args: 'loyalty.reward'
get_promo_code_error(self, delete=True)
get_promo_code_success_message(self, delete=True)
No new fields.
Public methods (1)unlink(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/18.0/website_sale_loyalty |
| 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, Xavier Morel, Aaron Bohy, Yannick Tivisse, qsm-odoo, Odoo Online, Victor Feyens, Julien Mougenot, Tiffany Chang (tic), Gorash, William Braeckman, Antoine Vandevenne (anv), Demesmaeker, Valentin Chevalier, Vincent Larcin, Thomas Lefebvre (thle), Mylyna Hy, Gauthier Wala (gawa), Pieter Claeys (clpi), Levi Siuzdak (sile), Maruan Aguerdouh (magm), Antoine Boonen, Dylan Kiss (dyki), Valeriya(vchu), Anita (anko), AH-Yussef, Mahdi Cheikh Rouhou (macr), sesn-odoo, kdeb@odoo.com, visp-odoo, Louis (loti), reka-odoo, AMZIL Ayoub, dere-odoo, Louis (wil), mathysPaul, sabr, Pierre Pulinckx (PIPU), Kawtar Drissi El Bouzaidi (kdeb), Pierre Pulinckx (pipu), Pierre Pulinckx, Bastien PIERRE, jeep-odoo, Mahdi Alijani (malj), assh-odoo |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 01:25:54 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - website_sale - website - digest - base - base_setup - web - bus - web_tour - html_editor - portal - web_editor - http_routing - auth_signup - resource - social_media - google_recaptcha - utm - sale - sales_team - account_payment - account - onboarding - product - uom - analytic - payment - website_payment - website_mail - portal_rating - rating - delivery - website_links - link_tracker - sale_loyalty - loyalty |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
geoip2 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon, promotion codes, gift cards and loyalty programs 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_line_product_no_link |
cart_line_product_no_link | ir.ui.view | qweb | Inherits website_sale.cart_line_product_link |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_product_price |
cart_summary_inherit_website_gift_card_sale |
cart_summary_inherit_website_gift_card_sale | ir.ui.view | qweb | Inherits website_sale.checkout_layout |
coupon_share_view_form |
coupon.share.form | coupon.share | form | New |
layout |
layout | ir.ui.view | qweb | Inherits website.layout |
loyalty_card_view_tree_inherit_website_sale_loyalty |
loyalty.card.view.list.inherit.website.sale.loyalty | loyalty.card | button | Inherits loyalty.loyalty_card_view_tree |
loyalty_program_view_form_inherit_website_sale_loyalty |
loyalty.program.view.form.inherit.website.sale.loyalty | loyalty.program | xpath | Inherits sale_loyalty.loyalty_program_view_form_inherit_sale_loyalty |
loyalty_program_view_tree_inherit_website_sale_loyalty |
loyalty.program.view.list.inherit.website.sale.loyalty | loyalty.program | field | Inherits loyalty.loyalty_program_view_tree |
modify_code_form |
Loyalty, coupon, gift card | ir.ui.view | qweb | Inherits website_sale.total |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form_inherit_website_sale_loyalty |
res.config.settings.view.form.inherit.website.sale.loyalty | res.config.settings | setting | Inherits website_sale.res_config_settings_view_form |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
snippet_options |
Coupon Snippet Options | ir.ui.view | qweb | Inherits website.snippet_options |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
website_sale_purchased_gift_card |
website_sale_purchased_gift_card | ir.ui.view | qweb | Inherits website_sale.confirmation |
coupon_id
Many2one → loyalty.card
domain="[('program_id', '=', program_id)]"
args: 'loyalty.card'
program_id
Many2one → loyalty.program
domain=['|', ('program_type', '=', 'coupons'), '|', ('trigger', '=', 'with_code'), ('rule_ids.code', '!=', False)]
required=True
args: 'loyalty.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 (1)action_coupon_share(self)
ecommerce_ok
Boolean
default=True
args: 'Available on Website'
action_program_share(self)
website_id
Many2one
related='program_id.website_id'
store=True
No public methods.
disabled_auto_rewards
Many2many → loyalty.reward
relation='sale_order_disabled_auto_rewards_rel'
args: 'loyalty.reward'
get_promo_code_error(self, delete=True)
get_promo_code_success_message(self, delete=True)
No new fields.
Public methods (1)unlink(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/17.0/website_sale_loyalty |
| 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, Géry Debongnie, Aaron Bohy, GitHub, Yannick Tivisse, qsm-odoo, Odoo Online, Jorge Pinna Puissant, Victor Feyens, Adrien Dieudonné, Tiffany Chang (tic), Gorash, Pierre Paridans, William Braeckman, Antoine Vandevenne (anv), Demesmaeker, Valentin Chevalier, Thomas Lefebvre (thle), Mylyna Hy, Valentin Vallaeys (vava), Levi Siuzdak (sile), Maruan Aguerdouh (magm), Antoine Boonen, Dylan Kiss (dyki), Michael (mcm), Anita (anko), Brieuc-brd, Ivan Rasputin, AH-Yussef, Mahdi Cheikh Rouhou (macr), sesn-odoo, kdeb@odoo.com, Eteil Djoumatchoua(etdj), reka-odoo, Julien Carion (juca), dere-odoo, Louis (wil), mathysPaul, sabr, Kawtar Drissi El Bouzaidi (kdeb), djameltouati, Pierre Pulinckx (pipu), Bastien PIERRE, stanislaw-ladorucki, Pulinckx Pierre (PIPU) |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 01:02:06 |
| 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 - account_payment - account - onboarding - product - uom - analytic - payment - website_payment - website_mail - portal_rating - rating - delivery - website_links - link_tracker - sale_loyalty - loyalty |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
geoip2 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon, promotion codes, gift cards and loyalty programs 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_line_product_no_link |
cart_line_product_no_link | ir.ui.view | qweb | Inherits website_sale.cart_line_product_link |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.checkout_layout |
cart_summary_inherit_website_gift_card_sale |
cart_summary_inherit_website_gift_card_sale | ir.ui.view | qweb | Inherits website_sale.checkout_layout |
coupon_share_view_form |
coupon.share.form | coupon.share | form | New |
layout |
layout | ir.ui.view | qweb | Inherits website.layout |
loyalty_card_view_tree_inherit_website_sale_loyalty |
loyalty.card.view.tree.inherit.website.sale.loyalty | loyalty.card | button | Inherits loyalty.loyalty_card_view_tree |
loyalty_program_view_form_inherit_website_sale_loyalty |
loyalty.program.view.form.inherit.website.sale.loyalty | loyalty.program | xpath | Inherits sale_loyalty.loyalty_program_view_form_inherit_sale_loyalty |
loyalty_program_view_tree_inherit_website_sale_loyalty |
loyalty.program.view.tree.inherit.website.sale.loyalty | loyalty.program | field | Inherits loyalty.loyalty_program_view_tree |
modify_code_form |
Loyalty, coupon, gift card | ir.ui.view | qweb | Inherits website_sale.total |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form_inherit_website_sale_loyalty |
res.config.settings.view.form.inherit.website.sale.loyalty | res.config.settings | setting | Inherits website_sale.res_config_settings_view_form |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
snippet_options |
Coupon Snippet Options | ir.ui.view | qweb | Inherits website.snippet_options |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
website_sale_purchased_gift_card |
website_sale_purchased_gift_card | ir.ui.view | qweb | Inherits website_sale.confirmation |
coupon_id
Many2one → loyalty.card
domain="[('program_id', '=', program_id)]"
args: 'loyalty.card'
program_id
Many2one → loyalty.program
domain=['|', ('program_type', '=', 'coupons'), '|', ('trigger', '=', 'with_code'), ('rule_ids.code', '!=', False)]
required=True
args: 'loyalty.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 (1)action_coupon_share(self)
ecommerce_ok
Boolean
default=True
args: 'Available on Website'
action_program_share(self)
website_id
Many2one
related='program_id.website_id'
store=True
No public methods.
disabled_auto_rewards
Many2many → loyalty.reward
relation='sale_order_disabled_auto_rewards_rel'
args: 'loyalty.reward'
get_promo_code_error(self, delete=True)
get_promo_code_success_message(self, delete=True)
No new fields.
Public methods (1)unlink(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/16.0/website_sale_loyalty |
| 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, Denis Ledoux, Lucas Perais (lpe), Yannick Tivisse, qsm-odoo, Pierre Masereel, Romeo Fragomeli, Victor Feyens, Tiffany Chang (tic), William Braeckman, roen-odoo, Demesmaeker, Valentin Chevalier, Thomas Lefebvre (thle), Mylyna Hy, Levi Siuzdak (sile), Maruan Aguerdouh (magm), Antoine Boonen, CarmenMiranda, AH-Yussef, sesn-odoo, Eteil Djoumatchoua(etdj), William Braeckman (wbr), miguel.cepeda |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:40:48 |
| 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 - account_payment - account - product - uom - analytic - payment - website_payment - website_mail - portal_rating - rating - website_links - link_tracker - sale_loyalty - loyalty |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Create coupon, promotion codes, gift cards and loyalty programs 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_line_product_no_link |
cart_line_product_no_link | ir.ui.view | qweb | Inherits website_sale.cart_line_product_link |
cart_summary |
Payment | ir.ui.view | qweb | Inherits website_sale.cart_summary |
cart_summary_inherit_website_gift_card_sale |
cart_summary_inherit_website_gift_card_sale | ir.ui.view | qweb | Inherits website_sale.cart_summary |
coupon_share_view_form |
coupon.share.form | coupon.share | form | New |
layout |
layout | ir.ui.view | qweb | Inherits website.layout |
loyalty_card_view_tree_inherit_website_sale_loyalty |
loyalty.card.view.tree.inherit.website.sale.loyalty | loyalty.card | button | Inherits loyalty.loyalty_card_view_tree |
loyalty_program_view_form_inherit_website_sale_loyalty |
loyalty.program.view.form.inherit.website.sale.loyalty | loyalty.program | xpath | Inherits sale_loyalty.loyalty_program_view_form_inherit_sale_loyalty |
loyalty_program_view_tree_inherit_website_sale_loyalty |
loyalty.program.view.tree.inherit.website.sale.loyalty | loyalty.program | field | Inherits loyalty.loyalty_program_view_tree |
modify_code_form |
Loyalty, coupon, gift card | ir.ui.view | qweb | Inherits website_sale.total |
reduction_coupon_code |
reduction_coupon_code | ir.ui.view | qweb | Inherits website_sale.reduction_code |
res_config_settings_view_form_inherit_website_sale_loyalty |
res.config.settings.view.form.inherit.website.sale.loyalty | res.config.settings | xpath | Inherits website.res_config_settings_view_form |
sale_coupon_result |
sale_coupon_result | ir.ui.view | qweb | Inherits website_sale.coupon_form |
snippet_options |
Coupon Snippet Options | ir.ui.view | qweb | Inherits website.snippet_options |
website_sale_coupon_cart_hide_qty |
website_sale_coupon_cart_hide_qty | ir.ui.view | qweb | Inherits website_sale.cart_lines |
website_sale_purchased_gift_card |
website_sale_purchased_gift_card | ir.ui.view | qweb | Inherits website_sale.confirmation |
coupon_id
Many2one → loyalty.card
domain="[('program_id', '=', program_id)]"
args: 'loyalty.card'
program_id
Many2one → loyalty.program
domain=['|', ('program_type', '=', 'coupons'), '|', ('trigger', '=', 'with_code'), ('rule_ids.code', '!=', False)]
required=True
args: 'loyalty.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 (1)action_coupon_share(self)
ecommerce_ok
Boolean
default=True
args: 'Available on Website'
action_program_share(self)
website_id
Many2one
related='program_id.website_id'
store=True
No public methods.
disabled_auto_rewards
Many2many → loyalty.reward
relation='sale_order_disabled_auto_rewards_rel'
args: 'loyalty.reward'
get_promo_code_error(self, delete=True)
get_promo_code_success_message(self, delete=True)
No new fields.
Public methods (1)unlink(self)