Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3770 มุมมอง

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..

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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>
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 18
3375
2
ก.พ. 24
4575
1
มิ.ย. 20
3824
2
เม.ย. 20
3828
2
ม.ค. 19
3663