Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3555 Переглядів

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
3191
2
лют. 24
4340
1
черв. 20
3616
2
квіт. 20
3533
2
січ. 19
3532