fix: custom conversion factor field not mapped from job card to stock entry

This commit is contained in:
Rohit Waghchaure 2021-06-04 10:53:44 +05:30
parent 7437748a1d
commit af4794b2d1

View File

@ -433,7 +433,8 @@ def make_material_request(source_name, target_doc=None):
def make_stock_entry(source_name, target_doc=None):
def update_item(obj, target, source_parent):
target.t_warehouse = source_parent.wip_warehouse
target.conversion_factor = 1
if not target.conversion_factor:
target.conversion_factor = 1
def set_missing_values(source, target):
target.purpose = "Material Transfer for Manufacture"