|
|
@ -1,36 +1,34 @@ |
|
|
|
<?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_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="min_date" position="after"> |
|
|
|
<field name="max_shipping_date" placeholder="Max shipping date" /> |
|
|
|
</field> |
|
|
|
<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="do_new_transfer" position="before"> |
|
|
|
<button name="action_assign" position="after"> |
|
|
|
<button name="copy_qty" string="Copy Pack Quantity" states="partially_available,assigned" type="object" class="oe_highlight" |
|
|
|
attrs="{'invisible': ['|', ('picking_type_code', '!=', 'incoming')]}"/> |
|
|
|
</button> |
|
|
|
<xpath expr="//field[@name='product_id']" position="attributes"> |
|
|
|
<attribute name="domain">[('main_seller_id', '=', parent.partner_id)]</attribute> |
|
|
|
</xpath> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
</field> |
|
|
|
</record> |
|
|
|
</odoo> |