[IMP] stock: Rename the Fill Inventory to Impor Inventory
bzr revid: sbh@tinyerp.com-20100908134353-leco6y3n7i7ejrhq
This commit is contained in:
@@ -24,14 +24,14 @@ from tools.translate import _
|
||||
|
||||
class stock_fill_inventory(osv.osv_memory):
|
||||
_name = "stock.fill.inventory"
|
||||
_description = "Fill Inventory"
|
||||
_description = "Import Inventory"
|
||||
_columns = {
|
||||
'location_id': fields.many2one('stock.location', 'Location', required=True),
|
||||
'recursive': fields.boolean("Include all children for the location"),
|
||||
}
|
||||
|
||||
def fill_inventory(self, cr, uid, ids, context):
|
||||
""" To fill stock inventory according to products available in the selected locations.
|
||||
""" To Import stock inventory according to products available in the selected locations.
|
||||
@param self: The object pointer.
|
||||
@param cr: A database cursor
|
||||
@param uid: ID of the user currently logged in
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_stock_fill_inventory" model="ir.ui.view">
|
||||
<field name="name">Fill Inventory</field>
|
||||
<field name="name">Import Inventory</field>
|
||||
<field name="model">stock.fill.inventory</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Fill Inventory">
|
||||
<separator string="Fill Inventory for specific location" colspan="4" />
|
||||
<form string="Import Inventory">
|
||||
<separator string="Import current product inventory from the following location" colspan="4" />
|
||||
<field name="location_id"/>
|
||||
<newline/>
|
||||
<field name="recursive"/>
|
||||
@@ -19,7 +19,7 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<act_window name="Fill Inventory"
|
||||
<act_window name="Import Inventory"
|
||||
res_model="stock.fill.inventory"
|
||||
src_model="stock.inventory"
|
||||
view_mode="form"
|
||||
|
||||
Reference in New Issue
Block a user