odoo/addons/purchase/views/stock_views.xml

26 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="stock_move_purchase" model="ir.ui.view">
<field name="name">stock.move.form</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='destination_grp']" position="inside">
<field name="purchase_line_id"/>
</xpath>
</field>
</record>
<record id="view_warehouse_inherited" model="ir.ui.view">
<field name="name">Stock Warehouse Inherited</field>
<field name="model">stock.warehouse</field>
<field name="inherit_id" ref="stock.view_warehouse"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='default_resupply_wh_id']" position="before">
<field name="buy_to_resupply" />
</xpath>
</field>
</record>
</odoo>