bugGNU Health - Bugs: bug #62555, Too many decimals error when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #62555: Too many decimals error when generating the invoice with certain discounts

Submitter:  Luis Falcon <meanmicio>
Submitted:  Wed 01 Jun 2022 11:11:15 AM UTC
   
 
Category:  Programming / Tracebacks Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  meanmicio Open/Closed:  Closed
Release:  4.0.0 Module:  insurance
Component:  None

Discussion

Wed 08 Jun 2022 04:14:54 PM UTC, comment #4: 

Updated on https://hg.savann ... /rev/180cc7a9d84b

We're now using the product decimal numbers from the system configuration.

More information at https://docs.tryt ... onfiguration.html

Luis Falcon <meanmicio>
Group administrator
Tue 07 Jun 2022 08:10:35 PM UTC, comment #3: 

Thank you, Cedric!

I'll take a look at it tomorrow.

Bests,
Luis

comment #2:

> It should use trytond.modules.product.round_price because the number of digits is configurable.

Luis Falcon <meanmicio>
Group administrator
Thu 02 Jun 2022 02:21:17 PM UTC, comment #2: 

It should use trytond.modules.product.round_price because the number of digits is configurable.

Cédric Krier <cedk>
Wed 01 Jun 2022 11:15:39 AM UTC, comment #1: 
Luis Falcon <meanmicio>
Group administrator
Wed 01 Jun 2022 11:11:15 AM UTC, original submission:  

When applying a discount policy to a product or service, the resulting price might have more than 4 decimals, generating a validation error.

https://matrix.to ... trix.interhop.org

https://matrix-cl ... cDbywNYoRRvKxqFfW

Luis Falcon <meanmicio>
Group administrator

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by cedk (Posted a comment)
  • -email is unavailable- added by meanmicio (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    History

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-14 meanmicio StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-06-01 meanmicio StatusConfirmed Ready For Test
        ReleaseNone 4.0.0

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code