Skip to content

Commit 8c24c65

Browse files
committed
[MIG] website_sale_hide_all_prices: Migration to 18.0
1 parent 061a1ac commit 8c24c65

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

website_sale_hide_all_prices/__manifest__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
# GNU Affero General Public License for more details.
1515
#
1616
# You should have received a copy of the GNU Affero General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
#
1919
##############################################################################
2020
{
2121
"name": "Website Sale Hide All Prices",
2222
"category": "website",
23-
"version": "17.0.1.0.0",
23+
"version": "18.0.1.0.0",
2424
"author": "ADHOC SA",
2525
"website": "www.adhoc.com.ar",
2626
"license": "AGPL-3",
@@ -38,5 +38,5 @@
3838
"website_sale_hide_all_prices/static/src/components/add_to_cart_notification.js",
3939
]
4040
},
41-
"installable": False,
41+
"installable": True,
4242
}

website_sale_hide_all_prices/views/templates.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
</xpath>
3434
</template>
3535

36-
<template id="payment_delivery" inherit_id="website_sale.payment_delivery">
37-
<xpath expr="//div[@id='delivery_carrier']" position="attributes">
36+
<template id="delivery_form" inherit_id="website_sale.delivery_form">
37+
<xpath expr="//form[@id='o_delivery_form']" position="attributes">
3838
<attribute name="t-attf-class">#{website.website_hide_all_prices and 'd-none' or ''}</attribute>
3939
</xpath>
4040
</template>
@@ -60,8 +60,8 @@
6060
</template>
6161

6262
<template id="payment_status" inherit_id="payment.payment_status">
63-
<xpath expr="//div[@name='o_payment_status_content']" position="attributes">
64-
<attribute name="t-attf-class">#{website.website_hide_all_prices and 'd-none' or ''}</attribute>
63+
<xpath expr="//div[@name='o_payment_status']" position="attributes">
64+
<attribute name="t-attf-class">#{we0bsite.website_hide_all_prices and 'd-none' or ''}</attribute>
6565
</xpath>
6666
</template>
6767

0 commit comments

Comments
 (0)