fix: let user delete the elements of items
This commit is contained in:
parent
810dde2e0b
commit
ef848fda2a
@ -103,8 +103,6 @@ erpnext.stock.DeliveryNoteController = erpnext.selling.SellingController.extend(
|
||||
this._super();
|
||||
|
||||
if ((!doc.is_return) && (doc.status!="Closed" || doc.is_new())) {
|
||||
this.frm.items = [];
|
||||
this.frm.refresh();
|
||||
if (this.frm.doc.docstatus===0) {
|
||||
this.frm.add_custom_button(__('Sales Order'),
|
||||
function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user