mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-26 21:35:19 +00:00
Co-authored-by: Krishna Shirsath <shirsathkrishna19@gmail.com>
This commit is contained in:
@@ -154,6 +154,9 @@ def get_batchwise_data_from_serial_batch_bundle(batchwise_data, filters):
|
|||||||
|
|
||||||
|
|
||||||
def get_query_based_on_filters(query, batch, table, filters):
|
def get_query_based_on_filters(query, batch, table, filters):
|
||||||
|
if filters.company:
|
||||||
|
query = query.where(table.company == filters.company)
|
||||||
|
|
||||||
if filters.item_code:
|
if filters.item_code:
|
||||||
query = query.where(table.item_code == filters.item_code)
|
query = query.where(table.item_code == filters.item_code)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user