Skip to content

Commit

Permalink
fix: Item code from Procedure
Browse files Browse the repository at this point in the history
"Item code" should comes from "Item code" procedure and not from "title"
  • Loading branch information
tamburro92 authored and akashkrishna619 committed Feb 8, 2024
1 parent 7015873 commit aa50921
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def create_item_from_template(doc):
item = frappe.get_doc(
{
"doctype": "Item",
"item_code": doc.template,
"item_code": doc.item_code,
"item_name": doc.template,
"item_group": doc.item_group,
"description": doc.description,
Expand Down

0 comments on commit aa50921

Please # to comment.