Odoo Help

2

0
2 Answers
0
Avatar

Jusab Sida (jsi) India

--Jusab Sida (jsi)--
1536
| 2 3 7
Gandhinagar, India
--Jusab Sida (jsi)--


Jusab Sida (jsi) India
6/15/17, 8:53 AM

For that you can do like:

.........
    <t t-if="round(l.quantity) == l.quantity">
    <span t-esc="'%.0f' % l.quantity"/>
</t>
<t t-if="not round(l.quantity) == l.quantity">
    <span t-field="l.quantity"/>
</t>
........
Question is too old...but just for ref
-1
Daniel Nigeria
4/4/16, 3:29 AM

Login with admin privilege, 1 Activate Technical Mode, 2 Refresh the web page, 3 Navigate to Technical section, 4 Click on Database Structure, 5 Click on Decimal Accuracy, 6 You should see Product Unit of Measure, 7 Click on it, 8 Click on Edit, 9 Change the Value to 1 from 4 then save.

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