26 lines
1.2 KiB
XML
26 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Custom list view for linking subcontracting moves to purchase orders -->
|
|
<record id="view_stock_move_link_subcontracting_tree" model="ir.ui.view">
|
|
<field name="name">stock.move.link.subcontracting.tree</field>
|
|
<field name="model">stock.move</field>
|
|
<field name="arch" type="xml">
|
|
<list string="Subcontracting Moves to Link" create="false" edit="false" delete="false">
|
|
<header>
|
|
<button name="%(action_link_subcontracting_move_to_po)d"
|
|
type="action"
|
|
string="Link to Purchase Order"
|
|
class="btn-primary"
|
|
context="{'default_purchase_order_id': context.get('default_purchase_order_id')}"/>
|
|
</header>
|
|
<field name="name"/>
|
|
<field name="product_id"/>
|
|
<field name="product_uom_qty"/>
|
|
<field name="product_uom" groups="uom.group_uom"/>
|
|
<field name="state"/>
|
|
<field name="date"/>
|
|
<field name="location_dest_id"/>
|
|
</list>
|
|
</field>
|
|
</record>
|
|
</odoo> |