← Back to team overview

openerp-india team mailing list archive

[Bug 1040656] [NEW] Cannot attach files without "name" field

 

Public bug reported:


File attachment from right side menu. openerp6.1

I cannot attach any file from right side menu if the class does not have "name" field.
I tried some patterns, 
	_columns = {
		'code' : fields.integer('Code', required=True),
		'place' : fields.char('Name',size=64,required=True),
	}
,
	_columns = {
		'code' : fields.integer('Code', required=True),
		'name2' : fields.char('Name',size=64,required=True),
	}
,
	_columns = {
		'code' : fields.integer('Code', required=True),
		'name' : fields.char('Name',size=64,required=True),
	}
,etc..
 Only when a table has "name" field, I could attach files.
I checked some modules I developed before, this rule is applied to all classes. 

Thank you.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1040656

Title:
  Cannot attach files without "name" field

Status in OpenERP Server:
  New

Bug description:
  
  File attachment from right side menu. openerp6.1

  I cannot attach any file from right side menu if the class does not have "name" field.
  I tried some patterns, 
  	_columns = {
  		'code' : fields.integer('Code', required=True),
  		'place' : fields.char('Name',size=64,required=True),
  	}
  ,
  	_columns = {
  		'code' : fields.integer('Code', required=True),
  		'name2' : fields.char('Name',size=64,required=True),
  	}
  ,
  	_columns = {
  		'code' : fields.integer('Code', required=True),
  		'name' : fields.char('Name',size=64,required=True),
  	}
  ,etc..
   Only when a table has "name" field, I could attach files.
  I checked some modules I developed before, this rule is applied to all classes. 

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1040656/+subscriptions


Follow ups

References