Skip to content

Commit

Permalink
Merge pull request #42289 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-42287

fix: missing discount on POS Credit Notes (backport #42287)
  • Loading branch information
ruthra-kumar authored Jul 11, 2024
2 parents 2751a9a + 4055ef9 commit e07bdce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/accounts/doctype/sales_invoice/sales_invoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,9 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends (
return this.frm.call({
doc: me.frm.doc,
method: "set_missing_values",
args: {
for_validate: true,
},
callback: function (r) {
if (!r.exc) {
if (r.message && r.message.print_format) {
Expand Down

0 comments on commit e07bdce

Please sign in to comment.