Debian Codegraph @

addons/purchase_stock/views/stock_views.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <record id="stock_move_purchase" model="ir.ui.view">
4 <field name="name">stock.move.form</field>
5 <field name="model">stock.move</field>
6 <field name="inherit_id" ref="stock.view_move_form"/>
7 <field name="arch" type="xml">
8 <xpath expr="//group[@name='origin_grp']" position="inside">
9 <field name="purchase_line_id"/>
10 </xpath>
11 </field>
12 </record>
13
14 <record id="view_warehouse_inherited" model="ir.ui.view">
15 <field name="name">Stock Warehouse Inherited</field>
16 <field name="model">stock.warehouse</field>
17 <field name="inherit_id" ref="stock.view_warehouse"/>
18 <field name="arch" type="xml">
19 <xpath expr="//field[@name='resupply_wh_ids']" position="before">
20 <field name="buy_to_resupply"/>
21 </xpath>
22 <xpath expr="//group[@name='group_resupply']" position="attributes">
23 <attribute name="groups">stock.group_adv_location,stock.group_stock_multi_warehouses</attribute>
24 </xpath>
25 </field>
26 </record>
27
28 <record id="view_warehouse_orderpoint_tree_editable_inherited_mrp" model="ir.ui.view">
29 <field name="name">stock.warehouse.orderpoint.list.editable.inherit.mrp</field>
30 <field name="model">stock.warehouse.orderpoint</field>
31 <field name="inherit_id" ref="stock.view_warehouse_orderpoint_tree_editable"/>
32 <field name="arch" type="xml">
33 <xpath expr="//button[@name='action_stock_replenishment_info']" position="before">
34 <field name="show_supplier" column_invisible="True"/>
35 <field name="supplier_id_placeholder" column_invisible="True"/> <!-- Needed for the placeholder widget -->
36 <field name="supplier_id" widget="stock.forced_placeholder" string="Vendor" optional="hidden" invisible="not show_supplier" options="{'no_create': True, 'placeholder_field': 'supplier_id_placeholder'}" decoration-muted="not supplier_id"/>
37 </xpath>
38 </field>
39 </record>
40 </odoo>