diff --git a/addons/stock/stock.py b/addons/stock/stock.py
index 8b7adf57eaa..642bd060976 100644
--- a/addons/stock/stock.py
+++ b/addons/stock/stock.py
@@ -1664,16 +1664,16 @@ class stock_inventory(osv.osv):
_columns = {
'name': fields.char('Inventory Reference', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}, help="Inventory Name."),
'date': fields.datetime('Creation Date', required=True, readonly=True, states={'draft': [('readonly', False)]}, help="Inventory Create Date."),
- 'date_done': fields.datetime('Date done', help="Inventory Date time."),
- 'line_ids': fields.one2many('stock.inventory.line', 'inventory_id', 'Inventories', readonly=False, states={'done': [('readonly', True)]}),
- 'move_ids': fields.one2many('stock.move', 'inventory_id', 'Created Moves'),
+ 'date_done': fields.datetime('Date done', help="Inventory Validation Date."),
+ 'line_ids': fields.one2many('stock.inventory.line', 'inventory_id', 'Inventories', readonly=False, states={'done': [('readonly', True)]}, help="Inventory Lines."),
+ 'move_ids': fields.one2many('stock.move', 'inventory_id', 'Created Moves', help="Inventory Moves."),
'state': fields.selection([('draft', 'Draft'), ('cancel', 'Cancelled'), ('confirm', 'In Progress'), ('done', 'Validated')], 'Status', readonly=True, select=True),
- 'company_id': fields.many2one('res.company', 'Company', required=True, select=True, readonly=True, states={'draft': [('readonly', False)]}, help="Your Company Name."),
- 'location_id': fields.many2one('stock.location', 'Location', required=True, help="Physical location stock name."),
+ 'company_id': fields.many2one('res.company', 'Company', required=True, select=True, readonly=True, states={'draft': [('readonly', False)]}),
+ 'location_id': fields.many2one('stock.location', 'Location', required=True),
'product_id': fields.many2one('product.product', 'Product', help="Product Name"),
'package_id': fields.many2one('stock.quant.package', 'Pack'),
'partner_id': fields.many2one('res.partner', 'Owner'),
- 'lot_id': fields.many2one('stock.production.lot', 'Lot/Serial Number', help="Forces to specify a Serial Number for all moves containing this product and generated by a Manufacturing Order"),
+ 'lot_id': fields.many2one('stock.production.lot', 'Lot/Serial Number', help="Forces to specify a Serial Number for all moves generated by Inventoty"),
'move_ids_exist': fields.function(_get_move_ids_exist, type='boolean', string=' Stock Move Exists?', help='technical field for attrs in view'),
}
@@ -1843,7 +1843,7 @@ class stock_inventory_line(osv.osv):
'company_id': fields.related('inventory_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, select=True, readonly=True),
'prod_lot_id': fields.many2one('stock.production.lot', 'Serial Number', domain="[('product_id','=',product_id)]"),
'state': fields.related('inventory_id', 'state', type='char', string='Status', readonly=True),
- 'real_qty':fields.related('product_id','qty_available', type='float',string='Real Quantity',store=True),
+ 'real_qty':fields.related('product_id','qty_available', type='float', string='Real Quantity', store=True),
}
def _resolve_inventory_line(self, cr, uid, inventory_line, theorical_lines, context=None):
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 76b4cdbd739..c79b91d35f3 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -131,9 +131,9 @@
-
+
-
+
@@ -145,7 +145,7 @@
-
+