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.
 
 
 
 
 

38 lines
1.7 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="beesdoo_stock_tree_view">
<field name="name">beesdoo.stock.tree.view</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.vpicktree"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="responsible"/>
</field>
</field>
</record>
<record model="ir.ui.view" id="beesdoo_stock_form_view">
<field name="name">beesdoo.stock.form.view</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="scheduled_date" position="after">
<field name="max_shipping_date"
placeholder="Max shipping date"/>
</field>
<field name="backorder_id" position="after">
<field name="responsible"/>
</field>
<button name="action_assign" position="after">
<button name="copy_qty" string="Copy Move Line Quantity"
states="partially_available,assigned" type="object"
class="oe_highlight"
attrs="{'invisible': ['|', ('picking_type_code', '!=', 'incoming')]}"/>
</button>
<xpath expr="//field[@name='move_ids_without_package']//field[@name='product_id']"
position="attributes">
<attribute name="domain">[('main_seller_id', '=', parent.partner_id)]</attribute>
</xpath>
</field>
</record>
</odoo>