-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHG] rotordc_website_theme: Move product availability
- Loading branch information
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
rotordc_website_theme/views/website_sale_product_availability_templates.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
|
||
<template id="products_item_availability" inherit_id="website_sale.products_item"> | ||
<xpath | ||
expr="//div[@itemscope='itemscope']//div[hasclass('product_price')]" | ||
position="before" | ||
> | ||
<div name="product_availability" class="product_availability"> | ||
<t t-call="website_sale_product_availability.product_availability" /> | ||
- More in stock | ||
</div> | ||
</xpath> | ||
</template> | ||
</odoo> |