flectra/addons/delivery/views/res_config_settings_views.xml
2018-01-16 02:34:37 -08:00

20 lines
860 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.delivery</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="sale.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='delivery_carrier']" position="after">
<div class="content-group">
<div class="mt16" attrs="{'invisible': [('module_delivery','=',False)]}">
<button name="%(delivery.action_delivery_carrier_form)d" icon="fa-arrow-right" type="action" string="Delivery Methods" class="btn-link"/>
</div>
</div>
</xpath>
</field>
</record>
</flectra>