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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
4475
Widoki
Hello Odooers,
I think if you are dealing with Monetary fields, then you dont need any code change, only need to set proper
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
maj 19
|
6300 | ||
How to apply char input field mask?
Rozwiązane
|
|
2
maj 19
|
8973 | |
|
0
lut 19
|
2322 | ||
|
0
sty 19
|
3614 | ||
|
1
sty 19
|
7580 |