New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decimal quantities in an Invoice and Credit Memo #12986
Comments
I have the same problem. |
#mm18in |
@alexlitvinenko , I have checked for order with fraction qty 21.5 and I am able to Invoice and even creditmemo using fraction qty 21.5 |
@hackrat, try to reproduce it on a clean magento instance (with sample data) with default settings. |
@alexlitvinenko I was not able to reproduce the Invoice part Can you please verify if the invoice issue is still happening on latest 2.2-develop ? |
@alexlitvinenko |
@KarlDeux I cannot reproduce the issue in magento 2.2-develop. |
@magento-engcom-team this looks already fixed in 2.2-develop. |
@alexlitvinenko, thank you for your report. |
I'm having the same issue here on Magento 2.2.2. |
There is the same problem in 2.2.3. |
same problem in 2.2.3 |
Hi everyone, I had to solve this problem for my client immediatelly so I wrote a custom module for this. You can install it via composer. Source files is in here. Real problem is that somehow When I just preference Credit Memos just fine in Magento 2.2.3 so I didn't worried about that. I hope this module will be helped someone :) |
Hi hayatbiralem, Thanks for creating this module....this fixed it for me on Magento 2.2.3. You're my hero for today! |
I am working on this at #dmcdindia |
@magento-engcom-team , I cannot reproduce the issue in the latest 2.2-develop branch (Magento ver. 2.2.6-dev) |
@sanjay-wagento Thank you for verifying this bug report |
Bug is back in 2.3.3! Never had the problem and after upgrade it's there.... |
Any solutions yet? |
@nikonratm yes i found that already and changed it in Magento core, and it solved the problem |
Here I'm facing the same problem in 2.4.1. Any suggestions, please? |
Also an issue still on 2.4.3-p1 |
Magento allows to enter decimal number in a product quantity (Advanced Inventory -> Qty Uses Decimals = Yes). For example: 4.5 lbs.
Magento allows to buy product and specify decimal number with fractional part (e.g. 4.5).
Magento erase fractional part from product quantity during an invoice creation.
Magento incorrectly calculates subtotal for decimal quantities with fractional part during credit memo creation and correctly calculates tax and discount.
Preconditions
Steps to reproduce for an Invoice
Steps to reproduce for a Credit Memo
Expected result for an Invoice
Actual result for an Invoice
Expected result for a Credit Memo
Actual result for a Credit Memo
The text was updated successfully, but these errors were encountered: