erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

not able to create credit note /return with einvoice

Open rjbharath1003 opened this issue 2 years ago • 1 comments

Information about bug

for sales return and credit note. einvoice details getting carried to new form. needed below cs to make it work. please do the needfull

frappe.ui.form.on('Sales Invoice', { onload: function(frm) { if(cur_frm.doc.name === cur_frm.doc.return_against + "-1") {

    }
    else{
      if(cur_frm.doc.is_return === 1)
     
    {
    cur_frm.set_value("irn","");
    cur_frm.set_value("ack_no","");

cur_frm.set_value("ack_date",""); } }

Module

accounts

Version

ERPNext: v13.36.1 (version-13)

Installation method

No response

Relevant log output / Stack trace / Full Error Message.

No response

rjbharath1003 avatar Jul 23 '22 03:07 rjbharath1003

Please share the issue in detail and steps to reproduce it. preferably attach screenshots to convey your message and then if you know the solution raise Pull Requests against it.

How to : https://github.com/frappe/erpnext/wiki/Issue-Guidelines

maharshivpatel avatar Jul 27 '22 11:07 maharshivpatel