*: website_blog, website_crm_partner_assign, website_customer, website_event, website_event_exhibitor, website_event_meet, website_event_track, website_forum, website_hr_recruitment, website_membership, website_sale, website_sale_loyalty, website_sale_slides, website_slides, website_slides_forum With commit [1], the "customize_show" options were moved in edit mode. They were wrongly displayed for non-designer users. Trying to use those would throw a warning at the user. [1]: https://github.com/odoo/odoo/commit/17a8a37e9bfc5b787d9666597d43e63f0064919f closes odoo/odoo#103142 X-original-commit: f2ca62a4a9ccb6713a39c100fc87c112619eac41 Related: odoo/enterprise#32768 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
16 lines
627 B
XML
16 lines
627 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="snippet_options" inherit_id="website.snippet_options" name="Coupon Snippet Options">
|
|
<xpath expr="." position="inside">
|
|
<div data-selector="main:has(.oe_website_sale .wizard)" data-page-options="true" groups="website.group_website_designer" data-no-check="true">
|
|
<we-checkbox string="Show Discount in Subtotal"
|
|
data-customize-website-views="website_sale_loyalty.cart_discount"
|
|
data-no-preview="true"
|
|
data-reload="/"/>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|