Hi,
I want to change the decimal precision to 4 decimal point in account.move.line in odoo10. please find screenshot( https://prnt.sc/os3l6r ).
could you please advise me how to do this.
Thanks in advance!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
Goto Technical Settings -> Database Structure -> Decimal Accuracy and change the digits of related precision. This will change all decimal precisions used in your instance. (Which is used while defining fields.). So better to define new decimal precision and add it with your related fields.
You can use attribute digits while defining fields. eg:
discount = fields.Float(..... , digits=5)
or
define precision as XML data and reuse it whenever needed.
<record forcecreate="True" id="decimal_payroll_rate" model="decimal.precision">
<field name="name">Payroll Rate</field>
<field name="digits">4</field>
</record>
rate = fields.Float(...... , digits=dp.get_precision('Payroll Rate'))
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
0
Ara 23
|
1040 | ||
|
1
Eyl 23
|
2068 | ||
|
0
Şub 19
|
2837 | ||
|
0
Eyl 24
|
1279 | ||
|
1
Ağu 24
|
1171 |