← Back to team overview

openerp-india team mailing list archive

[Bug 1040656] Re: Cannot attach files without "name" field

 

*** This bug is a duplicate of bug 1031694 ***
    https://bugs.launchpad.net/bugs/1031694

** This bug has been marked a duplicate of bug 1031694
   Incoming Mail with attachment error

-- 
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


References