<field name="model">stock.inventory</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Lot Inventory">
+ <form string="Physical Inventory">
<field name="name"/>
<field name="date"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
<notebook colspan="4">
<page string="General Informations">
<field colspan="4" name="inventory_line_id" nolabel="1" widget="one2many_list">
- <tree string="Inventory Lines" editable="bottom">
+ <tree string="Products" editable="bottom">
<field context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" domain="[('type','<>','service')]"/>
<field name="product_qty"/>
<field name="product_uom"/>
string="Split inventory lines" groups="base.group_extended"
type="action" icon="gtk-justify-fill" states="draft"/>
</tree>
- <form string="Inventory Lines">
+ <form string="Products ">
<field colspan="4" context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" domain="[('type','<>','service')]"/>
<field name="product_qty"/>
<field name="product_uom"/>
</form>
</field>
</page><page string="Posted Inventory" groups="base.group_extended">
- <field colspan="4" name="move_ids" nolabel="1"/>
+ <field colspan="2" name="move_ids" nolabel="1" readonly="1" widget="one2many_list">
+ <tree colors="grey:scrapped == True" string="Stock Moves">
+ <field name="name" string="Move Name"/>
+ <field name="product_id"/>
+ <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
+ <field name="product_uom" string="UoM"/>
+ <field name="prodlot_id" groups="base.group_extended"/>
+ <field name="date"/>
+ <field name="state"/>
+ </tree>
+ </field>
</page>
</notebook>
<field name="state"/>
</record>
<record id="action_inventory_form" model="ir.actions.act_window">
- <field name="name">Periodical Inventory</field>
+ <field name="name">Physical Inventory</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.inventory</field>
<field name="view_type">form</field>
<menuitem action="action_inventory_form" id="menu_action_inventory_form" parent="menu_stock_inventory_control" sequence="30"/>
<record id="action_inventory_form_draft" model="ir.actions.act_window">
- <field name="name">Draft Periodical Inventories</field>
+ <field name="name">Draft Physical Inventories</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.inventory</field>
<field name="view_type">form</field>