콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4899 화면

It seems to me that to be able to comment on a record in OpenERP v7, you need write access on the model of the record.

For a module I'm working on, I'd like to automatically create a mail.message on behalf of the user, when said user performs some given action. For convenience, that message should be posted on another record, on which only the user's manager should have write access. When I try to do this, I get an Access Denied error.

Is there a clean solution to this issue?

아바타
취소

Portal User Have no rights of modify record ......... then also Portal User can comment [see in image]

image description

작성자

I've had all sorts of problems with Portal Users in a multi company setup...

베스트 답변

If the message is an automatic notification, can't you post with superid, and specify the author_id in kwargs of message_post (if you're using it) ?

아바타
취소
작성자

I converted your comment to an answer as it seems a promising way of solving my issue. I'll test and accept it if it works or report back if it does not.

관련 게시물 답글 화면 활동
1
2월 25
7921
1
3월 15
7680
4
3월 15
9414
2
3월 15
6245
1
3월 15
5657