Open Nandhinidevi123 opened 1 year ago
The same problem happened with us with (ERPNext: v14.17.4 (version-14))
In our case there was a “discount rule applied” to the original invoice
I found that the discount rate was changed from 10% to 0%. The problem was solved when I returned the discount in the discount rule to 10%.
Although this solution is illogical, especially since in my case because the discount rule was (Disable) But The problem has been solved 👍 .
It seems that the system in returns reviews the discount rule. It seems to be verified that if the discount is increased to 20%, for example, the customer will be returned a value less than the purchase price.
The source code must be modified to depend on the original invoice only, or to allow the process if the discount rule in the return is reduced, or an option is set for that.
ERPNext: v14.69.0 (HEAD) Frappe Framework: v14.73.0 (HEAD)
If discount rule is applied and we try to make the sales invoice return, it will throw 'Rate cannot be greater than the rate used in sales invoice number'
For us it works by
In Erpnext version13 i try to return sales invoice ,it will throw rate cannot be grater than the rate used in sales invoice number because sales invoice price list rate grater than current price list rate any solution to return sales invoice this kind of cases