Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Product quantity precision bug?
#1
Hi,

Editing existing Invoice round product quantity to 2 digit.

Step to reproduce  in the demo:

1. Create new invoice with one item. set quantity to 1.123
2. Save the invoice
3. View the invoice, Every thing fine the quantity to 1.123
4. Edit the invoice, quantity now is 1.12 !!!!
5. Save the invoice
6. View the invoice, quantity to 1.12  

Not suppose to be related: The Number Of Currency Decimals for admin user in codebos demo it set to 4.
Reply
#2
Quantity is not a currency field and is limited to 2 decimals (three actually as per the database but only two are shown on screen).

This has always been like this, even in vtiger CRM.

What would you propose?
Joe
TSolucio
Reply
#3
(02-02-2020, 11:37 PM)joebordes Wrote: Quantity is not a currency field and is limited to 2 decimals (three actually as per the database but only two are shown on screen).

This has always been like this, even in vtiger CRM.

What would you propose?

I need 3 digits in the display.

How this modification:
https://github.com/tsolucio/corebos/comm...1a85a9d485
related to the issue?

Please give me some direction where to change it the code.

Thank you
Reply
#4
https://github.com/tsolucio/corebos/comm...4c99e05e78

quantity now uses the current user decimal setting but you can also force it to another amount with the Inventory_Quantity_Precision global variable
Joe
TSolucio
Reply
#5
Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)