fix: update item level cost center from POS (#25609)

This commit is contained in:
Anuja Pawar 2021-05-07 12:11:09 +05:30 committed by GitHub
parent 0e0de6baa1
commit f132ed4335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"):