Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3541 Weergaven

I am working on modifying pos sale detail report, 

   I have added a field inventory turnover on the report, but i want to see only when i want, not all the time, for this I have added a selection field x_turnover with two options, yes and no on the pos_sales_wizard

If i click the yes, the field should be visible else, it should not be visible

note: kindly tell the solution which i can do from the front end..

Avatar
Annuleer
Beste antwoord

You dont need selection field for yes or no option 

Just modify your field and make it boolean field

then place the field inside this span

<span t-if="i.x_turnover">

"Put Your code here"

</span>
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 18
3179
2
feb. 24
4333
1
jun. 20
3616
2
apr. 20
3526
2
jan. 19
3525