Salam,
On erpnext: 14.8.0, frappe: 14.16.0, hrms: 1.0.0, payments: 0.0.1
How to make return document without Delivery Note reference,
If any repository is available please guide.
Thanks,
But whats happend with the return stock for warehouse
Hi @GGR,
If you want to update stock on Return Sales Invoice then apply to enable the Update Stock Option.
Please try and check it.
Thank You!
1 Like
How to auto select
Series= ACC-SINV-RET-.YYYY.-
and Update Stock check = 1
when Is Return (Credit Note) = 1 is check
Hi @GGR,
That for, please apply the client script for Sales Invoice.
frappe.ui.form.on('Sales Invoice', {
is_return: function(frm) {
if (frm.doc.is_return === 1) {
frm.set_value('naming_series', 'ACC-SINV-RET-.YYYY.-');
frm.set_value('update_stock', 1);
}
else {
frm.set_value('naming_series', 'ACC-SINV-.YYYY.-');
frm.set_value('update_stock', 0);
}
}
});
Then reload (Ctrl + Shift + R) and check it.
Thank You!