mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
15 lines
821 B
XML
15 lines
821 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_picking_withcarrier_out_form" model="ir.ui.view">
|
|
<field name="name">delivery.stock.picking_withcarrier.form.view</field>
|
|
<field name="model">stock.picking</field>
|
|
<field name="inherit_id" ref="delivery.view_picking_withcarrier_out_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@name='send_to_shipper']" position="attributes">
|
|
<!-- remove requirement that picking is in done state -->
|
|
<attribute name="attrs">{'invisible':['|','|','|',('carrier_tracking_ref','!=',False),('delivery_type','in', ['fixed', 'base_on_rule']),('delivery_type','=',False),('picking_type_code', '=', 'incoming')]}</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|