Price Rule for a Sale Price creates a USD price with 3 decimal instead of 2
--------------------------------------------------------------------------- Key: OFBIZ-1579 URL: https://issues.apache.org/jira/browse/OFBIZ-1579 Project: OFBiz Issue Type: Bug Affects Versions: SVN trunk Reporter: Joel Blouin Priority: Minor Using a price rule for a Sale Price creates a USD price with 3 decimal places instead of only two. On the Hot Wax Demo Site I created a sale Price Rule called Test Rule 2 with condition of Product is GZ-1000 and Sale Price Y. 1st action is Percent of List Price -100. 2nd Action is Percent of Default Price 90. GZ-1000 has a default price of 15.99 and a list price of 15.00. I expected to see a price of $14.39 but instead the Ecommerce Demo site shows a price of $14.391. The Ecommerce Store's Default Currency Uom Id is set to USD American Dollar. Both prices for GZ-1000 are set to the Currency Uom Id of USD - American Dollar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marco Risaliti updated OFBIZ-1579: ---------------------------------- Component/s: product > Price Rule for a Sale Price creates a USD price with 3 decimal instead of 2 > --------------------------------------------------------------------------- > > Key: OFBIZ-1579 > URL: https://issues.apache.org/jira/browse/OFBIZ-1579 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Joel Blouin > Priority: Minor > > Using a price rule for a Sale Price creates a USD price with 3 decimal places instead of only two. On the Hot Wax Demo Site I created a sale Price Rule called Test Rule 2 with condition of Product is GZ-1000 and Sale Price Y. 1st action is Percent of List Price -100. 2nd Action is Percent of Default Price 90. GZ-1000 has a default price of 15.99 and a list price of 15.00. I expected to see a price of $14.39 but instead the Ecommerce Demo site shows a price of $14.391. The Ecommerce Store's Default Currency Uom Id is set to USD American Dollar. Both prices for GZ-1000 are set to the Currency Uom Id of USD - American Dollar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-1579. ---------------------------------- Resolution: Cannot Reproduce Fix Version/s: SVN trunk Assignee: Jacques Le Roux I believe this problem has been resolved since then. At least I can't reproduce in trunk > Price Rule for a Sale Price creates a USD price with 3 decimal instead of 2 > --------------------------------------------------------------------------- > > Key: OFBIZ-1579 > URL: https://issues.apache.org/jira/browse/OFBIZ-1579 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Joel Blouin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > > Using a price rule for a Sale Price creates a USD price with 3 decimal places instead of only two. On the Hot Wax Demo Site I created a sale Price Rule called Test Rule 2 with condition of Product is GZ-1000 and Sale Price Y. 1st action is Percent of List Price -100. 2nd Action is Percent of Default Price 90. GZ-1000 has a default price of 15.99 and a list price of 15.00. I expected to see a price of $14.39 but instead the Ecommerce Demo site shows a price of $14.391. The Ecommerce Store's Default Currency Uom Id is set to USD American Dollar. Both prices for GZ-1000 are set to the Currency Uom Id of USD - American Dollar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |