Odoo Help

0

0
3 Answers
0
Avatar

Qutechs, Ahmed M.Elmubarak

--Qutechs, Ahmed M.Elmubarak--
--Qutechs, Ahmed M.Elmubarak--


Qutechs, Ahmed M.Elmubarak
2016/10/27 上午3:56

Hi,

to do some calcs in the qweb you can use t-esc tag :

<p>The total of this invoice include 20% VAT, which is <span t-esc="o.amount_total * 20/100"/>            </p>


Hope this could helps 

0
Noah Alama
2016/11/2 下午4:51

Thank you, it works :)

0
Avatar
--deep--

Techno-Functional Associate with 7+ years of experience in Odoo (formerly known as OpenERP).

deep
2016/10/27 上午4:44

If am not wrong you wanted to include % symbol in the phrase while printing the report,

If so then add it twice %%. this will be evaluated at the time of rendering the report, and the output will be of single % symbol.

Ask a Question
Writer
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