1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_delivery_sendcloud/views/delivery_sendcloud_view.xml
2024-12-10 09:04:09 +07:00

21 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_delivery_carrier_form" model="ir.ui.view">
<field name="name">delivery.carrier.sendcloud.locations</field>
<field name="model">delivery.carrier</field>
<field name="inherit_id" ref="delivery_sendcloud.view_delivery_carrier_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='sendcloud_shipping_rules']" position="after">
<field name="sendcloud_can_customize_use_locations" invisible="1"/>
<field name="sendcloud_use_locations" readonly="not sendcloud_can_customize_use_locations"/>
<label for="sendcloud_locations_radius_value" invisible="not sendcloud_use_locations"/>
<span invisible="not sendcloud_use_locations">
<field name="sendcloud_locations_radius_value" class="pe-1"/>
<field name="sendcloud_locations_radius_unit"/>
</span>
</xpath>
</field>
</record>
</odoo>