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

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 18
3197
2
Şub 24
4356
1
Haz 20
3650
2
Nis 20
3550
2
Oca 19
3534