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

I need to customize the Customer form view to add the NAICS code, but not everyone in our team knows what this code represents, or where to find it.

How do you recommend I document this?

Ideally, I would like information on the form view itself, but I don't want to crowd the screen - so it would be great if this information could display only when needed.

아바타
취소
베스트 답변

One method that works quite well is to use the Bootstrap collapse visibility toggle.


The Form View when not being edited:



The Form View when being edited:



The Form View when being edited and a User clicks the help icon:



Once you have added the custom field, you can make an inherited View like this:



XML:

<xpath expr="//notebook" position="before">
<group>

<group>
<label for="x_distributor"/>
<div class="o_row">
<field name="x_distributor"/>
<span data-toggle="collapse" href="#x_distributor" role="button"
aria-expanded="false" aria-controls="x_distributor"
class="oe_edit_only fa fa-question-circle"/>
</div>
</group>

<group>
</group>

<div class="collapse oe_edit_only" style="color: blue;" colspan="4" id="x_distributor">
<b>HELP: The North American Industry Classification System Code can be found
<a target="new" href="https://www.naics.com/company-lookup-tool/">
<u>here</u></a>. Please search by Phone or DUNS Number where possible.</b>
</div>

</group>
</xpath>



아바타
취소
관련 게시물 답글 화면 활동
0
11월 21
2260
3
8월 24
1057
1
3월 15
5313
3
9월 17
8600
2
2월 17
5539