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

'form_view_ref' is not working in odoo 8.I want to open other view on many2one field.For example,

1.I created new form view of account_invoice object,Its not inheriting base view of account_invoice.its toatally different view,

2.this  is code line of it

<field name="invoice_id" context="{ 'form_view_ref': 'custom_module.view_new_invoice_form'}">

but still its opening basic account_invoice_form not my new invoice form view_new_invoice_form which is not inheriting basic account invoice form.

New view also using modal 'account.invoice'

please help me


아바타
취소
베스트 답변

It's implemented and working, here is an example of Odoo itself

<field name="invoice_id" context="{'form_view_ref': 'account.invoice_form'}"/>

아바타
취소
작성자

hi Axel,first thanks to giving reply.I m using some other field not invoice_id ,i just give an example.but some how form_view_ref is not working in case of other field

관련 게시물 답글 화면 활동
1
12월 18
2757
2
10월 18
7567
1
8월 16
3629
1
5월 16
3324
3
3월 22
29795