You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
1.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherited to add extra fields -->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">
res.config.settings.view.form.inherit.website.hide.button
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
<field name="arch" type="xml">
<block id="sale_product_catalog_settings" position="inside">
<setting id="show_price_setting"
string="Hide Product Prices for Guests"
help="Hides product prices from guest users in Website">
<field name="hide_price"/>
</setting>
<setting id="show_cart_setting" string="Hide Cart from Guests"
help="Hide 'Add to Cart' button and Cart quick view for Guest users">
<field name="hide_cart" readonly="hide_price"/>
</setting>
</block>
</field>
</record>
</odoo>