[FIX]stock:set a size of complete_name field in stock.location

lp bug: https://launchpad.net/bugs/899144 fixed

bzr revid: mma@tinyerp.com-20111205111920-mx5rp6gc3rirf9fw
This commit is contained in:
Mayur Maheshwari (OpenERP) 2011-12-05 16:49:20 +05:30
parent dc5f040115
commit a2f6101d1d
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class stock_location(osv.osv):
\n* Production: Virtual counterpart location for production operations: this location consumes the raw material and produces finished products
""", select = True),
# temporarily removed, as it's unused: 'allocation_method': fields.selection([('fifo', 'FIFO'), ('lifo', 'LIFO'), ('nearest', 'Nearest')], 'Allocation Method', required=True),
'complete_name': fields.function(_complete_name, type='char', size=100, string="Location Name", store=True),
'complete_name': fields.function(_complete_name, type='char', size=256, string="Location Name", store=True),
'stock_real': fields.function(_product_value, type='float', string='Real Stock', multi="stock"),
'stock_virtual': fields.function(_product_value, type='float', string='Virtual Stock', multi="stock"),