mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
Merge pull request #51102 from mihir-kandoi/price-list-js-error
This commit is contained in:
@@ -1459,7 +1459,7 @@ def get_batch_qty(batch_no, warehouse, item_code):
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
@erpnext.normalize_ctx_input(ItemDetailsCtx)
|
||||||
def apply_price_list(ctx: ItemDetailsCtx, as_doc=False, doc=None):
|
def apply_price_list(ctx, as_doc=False, doc=None):
|
||||||
"""Apply pricelist on a document-like dict object and return as
|
"""Apply pricelist on a document-like dict object and return as
|
||||||
{'parent': dict, 'children': list}
|
{'parent': dict, 'children': list}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user