fix: update item level cost center from POS (#25609)
This commit is contained in:
parent
0e0de6baa1
commit
f132ed4335
@ -79,7 +79,7 @@ def get_item_details(args, doc=None, for_validate=False, overwrite_warehouse=Tru
|
|||||||
get_price_list_rate(args, item, out)
|
get_price_list_rate(args, item, out)
|
||||||
|
|
||||||
if args.customer and cint(args.is_pos):
|
if args.customer and cint(args.is_pos):
|
||||||
out.update(get_pos_profile_item_details(args.company, args))
|
out.update(get_pos_profile_item_details(args.company, args, update_data=True))
|
||||||
|
|
||||||
if (args.get("doctype") == "Material Request" and
|
if (args.get("doctype") == "Material Request" and
|
||||||
args.get("material_request_type") == "Material Transfer"):
|
args.get("material_request_type") == "Material Transfer"):
|
||||||
|
Loading…
Reference in New Issue
Block a user