Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4795 Представления

Hello,

for better usability of Odoo i need to show the zero in fields floats in one2many,

anybody knows how to do?

Thanks

Аватар
Отменить
Лучший ответ


if If you work with odoo v8, you should define in your file .py the field like this:

'credit_service': fields.float( 'Credit', help='Service Credit',readonly=True, digits=(16,3)),

-Download Decimal Precision Configuration Module and you will find in Settings/technical/Databse Structure/Decimal  Accurancy so define your object.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 22
3752
1
мая 21
4802
1
окт. 19
5065
4
сент. 18
4995
4
мар. 15
10398