Odoo Help

0

0
1 Answer
3
Avatar

Niyas Raphy

--Niyas Raphy--
15176
| 7 6 11
Calicut, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
6/28/17, 10:34 PM

Hi,

You can add a if condition based on the state to achieve this,

<t t-if="doc.state in ['done', 'open']">
<t t-raw="doc.field_name"/>
</t>

This is a sample. Adjust it accordingly with yours

Thanks

Ask a Question
Writer
Tags
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now