# Is posible change price decimal after installed database?

**URL:** https://discuss.tryton.org/t/is-posible-change-price-decimal-after-installed-database/3494
**Category:** Developer
**Created:** [November 28, 2020, 2:20am UTC](https://discuss.tryton.org/t/is-posible-change-price-decimal-after-installed-database/3494 "2020-11-28T02:20:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yensei](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/yensei/32/1327_2.png) [@yensei](https://discuss.tryton.org/u/yensei)
#### Post date: [November 28, 2020, 2:20am UTC](https://discuss.tryton.org/t/is-posible-change-price-decimal-after-installed-database/3494/1 "2020-11-28T02:20:17Z")

</div>

Hi, I have been installed tryton DB and started my trytond without “price\_decimal” setting up on my trytond.conf file. So it takes the default value (4 decimal), now I want to change to only 2 but it show me this error when a try to start the server.

> ValueError: The price\_decimal 2 in [product] configuration section is different from the value 4 in ‘ir.configuration’

Thanks in advance…

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [November 28, 2020, 8:43am UTC](https://discuss.tryton.org/t/is-posible-change-price-decimal-after-installed-database/3494/2 "2020-11-28T08:43:33Z")

</div>

Normally no because it would mean losing information about already stored price with 4 decimals.  
Of course if you know what you are doing, you can still change also the value in `ir.configuration` table in the database.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [December 28, 2020, 8:43am UTC](https://discuss.tryton.org/t/is-posible-change-price-decimal-after-installed-database/3494/3 "2020-12-28T08:43:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
