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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4111
Tampilan
Hello Odooers,
I think if you are dealing with Monetary fields, then you dont need any code change, only need to set proper
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to export tree view or web view into pdf?
Diselesaikan
|
|
2
Mei 19
|
5953 | |
How to apply char input field mask?
Diselesaikan
|
|
2
Mei 19
|
8601 | |
|
0
Feb 19
|
2096 | ||
|
0
Jan 19
|
3302 | ||
|
1
Jan 19
|
7190 |