mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -156,7 +156,8 @@ class DocType(StockController):
|
|||||||
other_ste = [t[0] for t in webnotes.conn.get_values("Stock Entry", {
|
other_ste = [t[0] for t in webnotes.conn.get_values("Stock Entry", {
|
||||||
"production_order": self.doc.production_order,
|
"production_order": self.doc.production_order,
|
||||||
"purpose": self.doc.purpose,
|
"purpose": self.doc.purpose,
|
||||||
"docstatus": ["!=", 2]
|
"docstatus": ["!=", 2],
|
||||||
|
"name": ["!=", self.doc.name]
|
||||||
}, "name")]
|
}, "name")]
|
||||||
|
|
||||||
if other_ste:
|
if other_ste:
|
||||||
|
|||||||
Reference in New Issue
Block a user