I am not getting my own pricelist inside the shop in website only public pricelist is visible in odoo12 community version
How to get my own pricelist visible..
Here is the code ...<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--Adds pricelist above the product price in the website -->
<template id="product_inherit" inherit_id="website_sale.product">
<xpath expr="//t[@t-call='website_sale.product_price']" position="before">
<strong>Price List</strong>
<table>
<tr>
<th>Price List</th>
<th>Minimum Quantity</th>
<th>Product Discount</th>
<t t-set="website_sale_pricelists" t-value="product.env['product.pricelist.item'].search([('product_tmpl_id','=',product.id)])">
<t t-if="price_list.product_tmpl_id.id==product.id">
<th t-if="price_list.compute_price=='percentage'">Percent Price</th>
<th t-elif="price_list.compute_price=='fixed'">Fixed Price</th>
</t>
</t>
<th>Minimum Margin</th>
<th>Maximum Margin</th>
</tr>
<t t-foreach="website_sale_pricelists" t-as="price_list">
<t t-if="price_list.product_tmpl_id.id==product.id">
<tr>
<td><t t-esc="price_list.pricelist_id.name"/></td>
<td><t t-esc="price_list.min_quantity"/></td>
<td><t t-esc="price_list.price_discount"/></td>
<td t-if="price_list.compute_price=='percentage'"><t t-esc="price_list.percent_price"/></td>
<td t-elif="price_list.compute_price=='fixed'"><t t-esc="price_list.fixed_price"/></td>
<td><t t-esc="price_list.price_min_margin"/></td>
<td><t t-esc="price_list.price_max_margin"/></td>
</tr>
</t>
</t>
</table>
</xpath>
</template>
</odoo>
Please help...
Thanks in ADVANCE