Skip to Content
Menu
This question has been flagged
1 Reply
3531 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Jul 18
3175
2
Feb 24
4320
1
Jun 20
3609
2
Apr 20
3516
2
Jan 19
3520