İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5803 Görünümler

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.

Avatar
Vazgeç
En İyi Yanıt

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>



Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 21
2262
3
Ağu 24
1059
1
Mar 15
5322
3
Eyl 17
8602
2
Şub 17
5545