Merge pull request #26016 from rohitwaghchaure/fixed-conversion-factor-issue-develop

fix: custom conversion factor field not mapped from job card to stock entry
This commit is contained in:
rohitwaghchaure 2021-06-11 12:17:54 +05:30 committed by GitHub
commit da28db3698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"