← Back to team overview

openerp-india team mailing list archive

[Bug 1223005] Re: No record_name on mail_message when creating by one2many field

 

Juan and Gonzalo,

mail.thread is an abstract model, so '_inherits ' will not be supported.

Instead, you should use mail.alias, mail.message.

Additionally, if you can share the module, we can come across the
problem and can face the aforementioned issue.

Thank you.

** Changed in: openobject-addons
       Status: New => Incomplete

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

Title:
  No record_name on mail_message when creating by one2many field

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Affects openobject-addons on trunk and 7.0
  Module: mail (and the ones that inherits from mail.thread)

  Class 1 has one2many field to Class 2
  Class 2 inherits from 'mail.thread'

  When creating a record of "class 1" and from the one2many widget we
  create a record of "class 2". A new mail.message is generated but the
  record_name field is not set.

  If we generate a record of "class 2" directly from its menu, the
  record_name fied is set correctly.

  The mayor problem is that then, in the inbox message, you can see the
  message but id donsn't have a title so you can't to which record it
  belongs

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


References