[IMP] stock inventory: spellchecking + moved button column in inv. lines o2m

bzr revid: odo@openerp.com-20100909120514-n4mwthszd41nvobc
This commit is contained in:
Olivier Dony
2010-09-09 14:05:14 +02:00
parent cbce82b237
commit e9806cae8d
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -97,11 +97,11 @@
<field name="product_qty"/>
<field name="product_uom"/>
<field name="prod_lot_id" groups="base.group_extended"/>
<field colspan="4" domain="[('usage','=','internal')]" name="location_id"/>
<field name="state" />
<button name="%(stock.action_view_stock_inventory_line_split)d"
string="Split inventory lines" groups="base.group_extended"
type="action" icon="terp-stock_effects-object-colorize" states="draft"/>
<field colspan="4" domain="[('usage','=','internal')]" name="location_id"/>
<field name="state" />
</tree>
<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')]"/>
@@ -118,7 +118,7 @@
</form>
</field>
</page><page string="Posted Inventory" groups="base.group_extended">
<field colspan="2" name="move_ids" nolabel="1" readonly="1" widget="one2many_list">
<field colspan="2" name="move_ids" nolabel="1" readonly="1" widget="one2many_list">
<tree string="Stock Moves">
<field name="product_id"/>
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
@@ -127,7 +127,7 @@
<field name="date"/>
<field name="state"/>
</tree>
</field>
</field>
</page>
</notebook>
<field name="state"/>
@@ -142,7 +142,7 @@
</record>
<record id="action_inventory_form" model="ir.actions.act_window">
<field name="name">Physical Inventory</field>
<field name="name">Physical Inventories</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.inventory</field>
<field name="view_type">form</field>
+1 -1
View File
@@ -28,7 +28,7 @@ class stock_fill_inventory(osv.osv_memory):
_columns = {
'location_id': fields.many2one('stock.location', 'Location', required=True),
'recursive': fields.boolean("Include children",help="If checked, products contained in child locations of selected location will be included as well."),
'set_stock_zero': fields.boolean("Set to zero",help="If checked, all product quantities will be set to zero to help ensure a real physical inventory is done and when set all inventory lines that are added to the inventory should have zero as quantity"),
'set_stock_zero': fields.boolean("Set to zero",help="If checked, all product quantities will be set to zero to help ensure a real physical inventory is done"),
}
def fill_inventory(self, cr, uid, ids, context):