Even after user adds a discount amount / discount percentage, after saving the document, the discount goes back to zero and sales invoice gets saved at price list rate. We don’t have any price rules in the system.
Facing the same issue in sales quotation module. Upon saving discount gets reset to 0.