mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 03:12:02 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="snippet_options" inherit_id="website.snippet_options" name="Comparison Snippet Options">
|
||||
<xpath expr="//div[@data-js='WebsiteSaleProductPage']//we-row[@data-name='o_wsale_buy_now_opt']" position="after">
|
||||
<we-select string="Specification" data-no-preview="true" data-reload="/">
|
||||
<we-button data-customize-website-views="">None</we-button>
|
||||
<we-button data-customize-website-views="website_sale_comparison.product_attributes_body">Bottom of Page</we-button>
|
||||
</we-select>
|
||||
</xpath>
|
||||
<xpath expr="//we-button[hasclass('o_we_add_to_cart_btn')]" position="after">
|
||||
<we-button title="Compare" class="fa fa-fw fa-exchange"
|
||||
data-customize-website-views="website_sale_comparison.add_to_compare"
|
||||
data-no-preview="true"
|
||||
data-reload="/"/>
|
||||
</xpath>
|
||||
<xpath expr="//we-button[hasclass('o_we_buy_now_btn')]" position="after">
|
||||
<we-button title="Compare" class="fa fa-fw fa-exchange"
|
||||
data-customize-website-views="website_sale_comparison.product_add_to_compare"
|
||||
data-no-preview="true"
|
||||
data-reload="/"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue