Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.51k stars 2.8k forks source link

Problem pricecy with decimal point / coma #29810

Open vsatmydynipnet opened 5 months ago

vsatmydynipnet commented 5 months ago

Bug

I have a extra field

einkauf 1 facturedet Einkauf pricecy

defined as pricecy. The problem with this type when using de_DE or de_AT with , as separator is, that the field is displayed correct, as e.g. 100,11 . But you have to enter the value with . as separator. This ends up in the problem, that if you edit the record, the value is cleared because of the ,. You must replace the , with a . to keep the value.

If you define the field as

test 1 facturedet test double 24,2

everything works as expected.

Dolibarr Version

18, 19.0.2

Environment PHP

8.2

Environment Database

No response

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

vmaury commented 5 months ago

Hello, I'm sorry, my param are in french, so also a , as separator and I cant reproduce the behavior you described (with price, pride + device)