[IMP]stock:set a size of complete_name

bzr revid: mma@tinyerp.com-20111205105740-mz5s9n1qi7rh0yfj
This commit is contained in:
Mayur Maheshwari (OpenERP) 2011-12-05 16:27:40 +05:30
parent ac3af69aa4
commit b27b984caa
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class product_category(osv.osv):
_description = "Product Category"
_columns = {
'name': fields.char('Name', size=64, required=True, translate=True),
'complete_name': fields.function(_name_get_fnc, type="char", string='Name', store=True),
'complete_name': fields.function(_name_get_fnc, type="char", string='Name',size=256, store=True),
'parent_id': fields.many2one('product.category','Parent Category', select=True),
'child_id': fields.one2many('product.category', 'parent_id', string='Child Categories'),
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of product categories."),