[fix] [minor] syntax error in stock entry
This commit is contained in:
parent
4525a0b900
commit
9764e32d0a
@ -554,7 +554,7 @@ class DocType(StockController):
|
||||
`tabBOM Item`, `tabItem`
|
||||
where
|
||||
`tabBOM Item`.parent = %s and
|
||||
`tabBOM Item`.item_code = tabItem.name
|
||||
`tabBOM Item`.item_code = tabItem.name and
|
||||
`tabBOM Item`.docstatus < 2
|
||||
group by item_code""", (qty, self.doc.bom_no), as_dict=1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user