[FIX] stock: set readonly=True on the scrapped field of stock.move
bzr revid: qdp-launchpad@tinyerp.com-20101217102447-lsazxdkehe05ly4q
This commit is contained in:
parent
4028b53efe
commit
f2aa6adb15
|
@ -1515,7 +1515,7 @@ class stock_move(osv.osv):
|
|||
'origin': fields.related('picking_id','origin',type='char', size=64, relation="stock.picking", string="Origin", store=True),
|
||||
|
||||
# used for colors in tree views:
|
||||
'scrapped': fields.related('location_dest_id','scrap_location',type='boolean',relation='stock.location',string='Scrapped'),
|
||||
'scrapped': fields.related('location_dest_id','scrap_location',type='boolean',relation='stock.location',string='Scrapped', readonly=True),
|
||||
}
|
||||
_constraints = [
|
||||
(_check_tracking,
|
||||
|
|
Loading…
Reference in New Issue