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.

31 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2016 LasLabs Inc.
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. -->
  6. <odoo>
  7. <record id="view_website_config_settings" model="ir.ui.view">
  8. <field name="name">Website settings</field>
  9. <field name="model">website.config.settings</field>
  10. <field name="inherit_id" ref="website_sale.website_config_settings_view_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//label[@for='module_delivery_ups']" position="attributes">
  13. <attribute name="invisible">True</attribute>
  14. </xpath>
  15. <xpath expr="//div[field[@name='module_delivery_ups']]/.." position="attributes">
  16. <attribute name="invisible">True</attribute>
  17. </xpath>
  18. <xpath expr="//label[@for='module_sale_ebay']"
  19. position="attributes">
  20. <attribute name="invisible">True</attribute>
  21. </xpath>
  22. <xpath expr="//div[field[@name='module_sale_ebay']]" position="attributes">
  23. <attribute name="invisible">True</attribute>
  24. </xpath>
  25. </field>
  26. </record>
  27. </odoo>