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

I have defined a server action in an xml file and attached it to a menu button. Everything works, I get redirected to the record in question and the record is displayed in edit mode. If I use target = current,new,inline I see exactly what I expect. 

I can even edit the fields!

HOWEVER....

There is NO save button.


<record id="action_settings" model="ir.actions.server">
<field name="name">Contact Settings</field>
<field name="model_id" ref="model_res_partner"/>
<field name="code">
action = {
"type": "ir.actions.act_window",
"view_mode": "form",
"res_model": "res.partner",
"target": "inline",
"res_id": user.commercial_partner_id.id,
}
</field>
</record>
아바타
취소
작성자 베스트 답변

As it turns out. This was a permissions related issue. The user in question only had read access on the destination model and so correctly could only read.

아바타
취소
관련 게시물 답글 화면 활동
0
11월 24
872
3
12월 23
4993
2
9월 23
5870
1
4월 23
3197
3
3월 22
9504