[FIX] loyalty: reorder loyalty templates

X-original-commit: 9d533234ba0367c44b88dc11bca1b9583fe1f43a
Part-of: odoo/odoo#129115
This commit is contained in:
Valentin Vallaeys (vava)
2023-07-20 13:07:11 +02:00
parent d3f0d22d7a
commit aa3ebd20a6
2 changed files with 65 additions and 38 deletions
+36 -9
View File
@@ -507,7 +507,10 @@ msgid "Buy 3 large cabinets, get one for free"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#: model:ir.model.fields.selection,name:loyalty.selection__loyalty_program__program_type__buy_x_get_y
#, python-format
msgid "Buy X Get Y"
msgstr ""
@@ -611,7 +614,10 @@ msgid "Control panel buttons"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#: model:ir.model.fields,field_description:loyalty.field_loyalty_program__coupon_ids
#, python-format
msgid "Coupon"
msgstr ""
@@ -775,7 +781,10 @@ msgid "Discount Applicability"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#: model:ir.model.fields.selection,name:loyalty.selection__loyalty_program__program_type__promo_code
#, python-format
msgid "Discount Code"
msgstr ""
@@ -885,6 +894,12 @@ msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Fidelity Card"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Fidelity Cards"
@@ -977,6 +992,13 @@ msgstr ""
msgid "Generate Gift Cards"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Generate and share unique coupons with your customers"
msgstr ""
#. module: loyalty
#: model_terms:ir.ui.view,arch_db:loyalty.loyalty_program_view_form
msgid "Generate eWallet"
@@ -986,7 +1008,7 @@ msgstr ""
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Get 10% of on some products, with a code"
msgid "Get 10% off on some products, with a code"
msgstr ""
#. module: loyalty
@@ -1183,6 +1205,12 @@ msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Loyalty Card"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#: code:addons/loyalty/models/loyalty_program.py:0
#: model:ir.model.fields.selection,name:loyalty.selection__loyalty_program__program_type__loyalty
@@ -1271,6 +1299,12 @@ msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Next Order Coupon"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#: model:ir.model.fields.selection,name:loyalty.selection__loyalty_program__program_type__next_order_coupons
#, python-format
@@ -1557,13 +1591,6 @@ msgstr ""
msgid "Send a coupon after an order, valid for next purchase"
msgstr ""
#. module: loyalty
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Send unique coupons that give access to rewards"
msgstr ""
#. module: loyalty
#: model:mail.template,description:loyalty.mail_template_gift_card
msgid "Sent to customer who purchased a gift card"
@@ -1756,7 +1783,7 @@ msgstr ""
#. odoo-python
#: code:addons/loyalty/models/loyalty_program.py:0
#, python-format
msgid "Win points with each purchases, and claim gifts"
msgid "Win points with each purchase, and claim gifts"
msgstr ""
#. module: loyalty
+29 -29
View File
@@ -441,52 +441,52 @@ class LoyaltyProgram(models.Model):
if ctx_menu_type == 'gift_ewallet':
return {
'gift_card': {
'title': _('Gift Card'),
'description': _('Sell Gift Cards, that allows to purchase products'),
'title': _("Gift Card"),
'description': _("Sell Gift Cards, that allows to purchase products"),
'icon': 'gift_card',
},
'ewallet': {
'title': _('eWallet'),
'description': _('Fill in your eWallet, to pay future orders'),
'title': _("eWallet"),
'description': _("Fill in your eWallet, to pay future orders"),
'icon': 'ewallet',
},
}
return {
'promo_code': {
'title': _('Promo Code'),
'description': _('Get 10% of on some products, with a code'),
'icon': 'promo_code',
},
'loyalty': {
'title': _('Loyalty Cards'),
'description': _('Win points with each purchases, and claim gifts'),
'icon': 'loyalty_cards',
},
'fidelity': {
'title': _('Fidelity Cards'),
'description': _('Buy 10 products to get 10$ off on the 11th one'),
'icon': 'fidelity_cards',
},
'promotion': {
'title': _('Promotional Program'),
'description': _('Automatic promo: 10% off on orders higher than $50'),
'title': _("Promotional Program"),
'description': _("Automatic promo: 10% off on orders higher than $50"),
'icon': 'promotional_program',
},
'coupons': {
'title': _('Coupons'),
'description': _('Send unique coupons that give access to rewards'),
'icon': 'coupons',
'promo_code': {
'title': _("Promo Code"),
'description': _("Get 10% off on some products, with a code"),
'icon': 'promo_code',
},
'buy_x_get_y': {
'title': _('2+1 Free'),
'description': _('Buy 2 products and get a third one for free'),
'title': _("Buy X Get Y"),
'description': _("Buy 2 products and get a third one for free"),
'icon': '2_plus_1',
},
'next_order_coupons': {
'title': _('Next Order Coupons'),
'description': _('Send a coupon after an order, valid for next purchase'),
'title': _("Next Order Coupon"),
'description': _("Send a coupon after an order, valid for next purchase"),
'icon': 'coupons',
},
'loyalty': {
'title': _("Loyalty Card"),
'description': _("Win points with each purchase, and claim gifts"),
'icon': 'loyalty_cards',
},
'coupons': {
'title': _("Coupon"),
'description': _("Generate and share unique coupons with your customers"),
'icon': 'coupons',
},
'fidelity': {
'title': _("Fidelity Card"),
'description': _("Buy 10 products to get 10$ off on the 11th one"),
'icon': 'fidelity_cards',
},
}
@api.model