mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 07:22:13 +00:00
fix: missing discount on POS Credit Notes
(cherry picked from commit 1049550951)
This commit is contained in:
@@ -505,6 +505,9 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends (
|
|||||||
return this.frm.call({
|
return this.frm.call({
|
||||||
doc: me.frm.doc,
|
doc: me.frm.doc,
|
||||||
method: "set_missing_values",
|
method: "set_missing_values",
|
||||||
|
args: {
|
||||||
|
for_validate: true,
|
||||||
|
},
|
||||||
callback: function (r) {
|
callback: function (r) {
|
||||||
if (!r.exc) {
|
if (!r.exc) {
|
||||||
if (r.message && r.message.print_format) {
|
if (r.message && r.message.print_format) {
|
||||||
|
|||||||
Reference in New Issue
Block a user