mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-30 01:22:18 +02:00
fix: completed DC will not appear in a delivery trip
This commit is contained in:
committed by
GitHub
parent
a3444a07b7
commit
0bab609a6f
@@ -205,11 +205,7 @@ erpnext.stock.DeliveryNoteController = class DeliveryNoteController extends (
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
if (doc.docstatus == 1) {
|
|
||||||
=======
|
|
||||||
if (doc.docstatus == 1 && doc.status != "Completed" && frappe.model.can_create("Delivery Trip")) {
|
if (doc.docstatus == 1 && doc.status != "Completed" && frappe.model.can_create("Delivery Trip")) {
|
||||||
>>>>>>> 4f0214d00e (fix: completed DC will not appear in a delivery trip (#41655))
|
|
||||||
this.frm.add_custom_button(
|
this.frm.add_custom_button(
|
||||||
__("Delivery Trip"),
|
__("Delivery Trip"),
|
||||||
function () {
|
function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user