|
- - - - - off on your next order - - - off on the cheapest product - - - off on your next order - - - - on your next order - - on your next order - |
|
- Use this promo code
- - 15637502648479132902 - -- - - - Thank you, - - Mitchell Admin |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Félicitations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Voici votre récompense de ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" sur votre prochaine commande \n" -" %eelse\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" sur certains articles*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" sur le produit le moins cher\n" -" \n" -" % else\n" -" \n" -" sur votre prochaine commande\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" sur votre prochaine commande \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" obtenez la livraison gratuite\n" -" \n" -" sur votre prochaine commande \n" -" % endif\n" -" |
| \n"
-" Utilisez ce code promo\n"
-" % if object.expiration_date:\n"
-" avant ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Achat minimum de ${object.program_id.rule_min_quantity} articles\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valide sur un achat supérieur à ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valable pour les produits suivants: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Merci,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_products'\n" -" \n" -" % if len(object.program_id.discount_specific_product_ids) != 1\n" -" % set display_specific_products = True\n" -" \n" -" on some products*\n" -" \n" -" % else\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_ids.name}\n" -" \n" -" % endif\n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" % if display_specific_products\n" -" \n" -" *Valid for following products: ${', '.join(object.program_id.discount_specific_product_ids.mapped('name'))}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |
| \n"
-" \n" -" \n" -"\n" -" \n" -" off on your next order \n" -" \n" -" \n" -" off on the cheapest product\n" -" \n" -" \n" -" off on your next order\n" -" \n" -" \n" -" \n" -" on your next order \n" -" \n" -" on your next order \n" -" |
| \n"
-" Use this promo code\n"
-" \n" -" 15637502648479132902\n" -" \n" -"\n" -" \n" -" \n" -" \n" -" Thank you,\n" -" \n" -" Mitchell Admin |
| \n"
-" % if object.partner_id.name:\n"
-" Congratulations ${object.partner_id.name}, \n" -" % endif\n" -"\n" -" Here is your reward from ${object.program_id.company_id.name}. \n" -"\n" -" % if object.program_id.reward_type == 'discount':\n" -" % if object.program_id.discount_type == 'fixed_amount':\n" -" \n" -" ${'%s' % format_amount(object.program_id.discount_fixed_amount, object.program_id.currency_id)}\n" -" \n" -" off on your next order \n" -" %else\n" -" \n" -" ${object.program_id.discount_percentage} %\n" -" \n" -" % if object.program_id.discount_apply_on == 'specific_product':\n" -" \n" -" ${'on %s' % object.program_id.discount_specific_product_id.name}\n" -" \n" -" % elif object.program_id.discount_apply_on == 'cheapest_product':\n" -" \n" -" off on the cheapest product\n" -" \n" -" % else\n" -" \n" -" off on your next order\n" -" \n" -" % endif\n" -" \n" -" % endif\n" -" % elif object.program_id.reward_type == 'product':\n" -" \n" -" ${'get %s free %s' % (object.program_id.reward_product_quantity, object.program_id.reward_product_id.name)}\n" -" \n" -" on your next order \n" -" % elif object.program_id.reward_type == 'free_shipping':\n" -" \n" -" get free shipping\n" -" \n" -" on your next order \n" -" % endif\n" -" |
| \n"
-" Use this promo code\n"
-" % if object.expiration_date:\n"
-" before ${object.expiration_date}\n"
-" % endif\n"
-" \n" -" \n" -" ${object.code}\n" -" \n" -" \n" -" % if object.program_id.rule_min_quantity not in [0, 1]\n" -" \n" -" Minimum purchase of ${object.program_id.rule_min_quantity} products\n" -"\n" -" % endif\n" -" % if object.program_id.rule_minimum_amount != 0.00\n" -" \n" -" Valid for purchase above ${object.program_id.company_id.currency_id.symbol}${'%0.2f' % object.program_id.rule_minimum_amount |float}\n" -" \n" -" % endif\n" -" \n" -" Thank you,\n" -" \n" -" % if object.order_id.user_id:\n" -" ${object.order_id.user_id.signature | safe}\n" -" % endif\n" -" |