With odoo 8 in Settings -> Technical -> Database Structure -> Decimal Accuracy there is "Account"by default , when i modify the digits to 3 the subtotal rounding changed . But in odoo 9 there is not "Account" by default , and even when i tried to create it and added "price_subtotal = fields.Monetary(compute='_compute_amount', string='Subtotal', digits=dp.get_precision('Account'))" there is no change in the subtotal display.Any help please ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
4528
أدوات العرض
Hello Odooers,
I think if you are dealing with Monetary fields, then you dont need any code change, only need to set proper
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
مايو 19
|
6349 | ||
|
2
مايو 19
|
9012 | ||
|
0
فبراير 19
|
2356 | ||
|
0
يناير 19
|
3636 | ||
|
1
يناير 19
|
7617 |