1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="product_search_form_view_stock" model="ir.ui.view">
6 <field name="name">product.search.stock.form</field>
7 <field name="model">product.product</field>
8 <field name="type">search</field>
9 <field name="inherit_id" ref="product.product_search_form_view"/>
10 <field name="arch" type="xml">
11 <field name="pricelist_id" select="1" widget="selection" position="before">
12 <field name="location_id" select="1" widget="selection" context="{'location': self}" />
13 <separator orientation="vertical"/>
18 <record id="view_category_property_form" model="ir.ui.view">
19 <field name="name">product.category.stock.property.form.inherit</field>
20 <field name="model">product.category</field>
21 <field name="type">form</field>
22 <field name="inherit_id" ref="product.product_category_form_view"/>
23 <field name="arch" type="xml">
24 <form position="inside">
25 <group col="2" colspan="2">
26 <separator string="Accounting Stock Properties" colspan="2"/>
27 <field name="property_stock_account_input_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
28 <field name="property_stock_account_output_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
29 <field name="property_stock_journal"/>
37 <record id="view_template_property_form" model="ir.ui.view">
38 <field name="name">product.template.stock.property.form.inherit</field>
39 <field name="model">product.template</field>
40 <field name="type">form</field>
41 <field name="inherit_id" ref="product.product_template_form_view"/>
42 <field name="arch" type="xml">
43 <page position="after" string="Information">
44 <page string="Properties">
45 <separator string="Counter-Part Locations Properties" colspan="4"/>
46 <field name="property_stock_procurement" widget="selection"/>
47 <field name="property_stock_production" widget="selection"/>
48 <field name="property_stock_inventory" widget="selection"/>
49 <separator string="Accounting Entries" colspan="4"/>
50 <field name="property_stock_account_input" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
51 <field name="property_stock_account_output" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
57 <record id="view_product_standard_price_form" model="ir.ui.view">
58 <field name="name">product.product.standard.price.form.inherit</field>
59 <field name="model">product.product</field>
60 <field name="type">form</field>
61 <field name="inherit_id" ref="product.product_normal_form_view"/>
62 <field name="arch" type="xml">
63 <field name="standard_price" position="replace">
64 <group col="4" colspan="2">
65 <field name="standard_price" readonly="True"/>
66 <button name="%(action_view_change_standard_price)d" string="Change Price" type="action" icon="gtk-execute"/>
72 <record id="view_normal_property_acc_form" model="ir.ui.view">
73 <field name="name">product.normal.stock.acc.property.form.inherit</field>
74 <field name="model">product.product</field>
75 <field name="type">form</field>
76 <field name="inherit_id" ref="product.product_normal_form_view"/>
77 <field name="priority">26</field>
78 <field name="arch" type="xml">
79 <field name="property_account_expense" position="after">
80 <field name="property_stock_account_output" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
81 <field name="property_stock_account_input" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
86 <record id="view_normal_stock_property_form" model="ir.ui.view">
87 <field name="name">product.normal.stock.form.inherit</field>
88 <field name="model">product.product</field>
89 <field name="type">form</field>
90 <field name="inherit_id" ref="product.product_normal_form_view"/>
91 <field name="arch" type="xml">
92 <group name="status" position="after">
93 <group colspan="2" col="2">
94 <separator string="Stocks" colspan="4"/>
95 <field name="qty_available"/>
96 <field name="virtual_available"/>
98 <group colspan="2" col="2" name="lot" groups="base.group_extended">
99 <separator string="Lots" colspan="4"/>
100 <field name="track_production" />
101 <field name="track_incoming" />
102 <field name="track_outgoing" />
108 <record id="view_normal_property_form" model="ir.ui.view">
109 <field name="name">product.normal.stock.property.form.inherit</field>
110 <field name="model">product.product</field>
111 <field name="type">form</field>
112 <field name="inherit_id" ref="product.product_normal_form_view"/>
113 <field name="arch" type="xml">
114 <group name="store" position="after">
115 <group col="2" colspan="2" name="store">
116 <separator string="Counter-Part Locations Properties" colspan="2"/>
117 <field name="property_stock_procurement" widget="selection" domain="[('usage','=','procurement')]"/>
118 <field name="property_stock_production" widget="selection"/>
119 <field name="property_stock_inventory" widget="selection"/>