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.
 
 
 

19 lines
911 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_order_form_with_retrait" model="ir.ui.view">
<field name="name">delivery.sale.order.form.view.with_retrait</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="delivery.view_order_form_with_carrier"/>
<field name="arch" type="xml">
<data>
<xpath expr="//div[@name='carrier_selection']" position="after">
<field name="carrier_point_retrait" invisible="1"/>
<field name="vracoop_point_retrait_id" attrs="{'invisible': [('carrier_point_retrait', '=', False)]}"/>
<field name="day_retrait" attrs="{'invisible': [('carrier_point_retrait', '=', False)]}" />
<field name="hour_retrait" widget="float_time" attrs="{'invisible': [('carrier_point_retrait', '=', False)]}"/>
</xpath>
</data>
</field>
</record>
</odoo>