Hello Karel Marissens,

Martin has fixed and merged this issue in stable 7.0 on revision 9374.

http://bazaar.launchpad.net/~openerp/openobject-
addons/7.0/revision/9374#mail/mail_message.py

Thanks.

** Changed in: openobject-addons
       Status: New => Fix Released

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

Title:
  Write access is required for creating an object with a chatter

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  When creating an object with a user that only has 'create' access for
  the relevant model, the creation fails with a 'no access to modify'
  exception if the model uses a chatter. Example model: hr.applicant.

  This behavior changed recently, somewhere between these 2 versions:
  - Version with the problem: 7.0-20130723-231040
  - Version without the problem: 7.0-20130526-231028

  Relevant lines in mail_message.py:
  724            if operation in ['create', 'write', 'unlink']:
  725                model_obj.check_access_rights(cr, uid, 'write')     <-- 
THIS ONE
  726                model_obj.check_access_rule(cr, uid, mids, 'write', 
context=context)

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to