summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-09-08 18:36:57 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-09-08 18:36:57 +0530
commit51c5533ebec5259cb35f0238dff780a2170aa2d0 (patch)
tree2aa95000a4f450f0af39658f0b3ec3dea3c23706
parentb095ebd8268d7938409b0fa0bd3d48e45d00f8db (diff)
[IMP] stock: Imrpove the view of Periodical Inventory,rename the label and add the list view of move_ids
bzr revid: sbh@tinyerp.com-20100908130657-6it84bme2brthnwo
-rw-r--r--addons/stock/stock_view.xml22
1 files changed, 16 insertions, 6 deletions
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 3f21ef33256..a05e3217613 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -85,14 +85,14 @@
<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','&lt;&gt;','service')]"/>
<field name="product_qty"/>
<field name="product_uom"/>
@@ -103,7 +103,7 @@
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','&lt;&gt;','service')]"/>
<field name="product_qty"/>
<field name="product_uom"/>
@@ -117,7 +117,17 @@
</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"/>
@@ -132,7 +142,7 @@
</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>
@@ -143,7 +153,7 @@
<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>