fix: map project from rfq to supplier quotation (backport #45745) (#45827)

* fix: map project from rfq to supplier quotation

(cherry picked from commit d0479036bb)

* fix: add project field map from mr to rfq

(cherry picked from commit 8fa39bec61)

---------

Co-authored-by: HenningWendtland <156231187+HenningWendtland@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2025-02-11 14:52:21 +05:30
committed by GitHub
parent a43f1badd5
commit c4358c049a
2 changed files with 6 additions and 2 deletions

View File

@@ -330,7 +330,11 @@ def make_supplier_quotation_from_rfq(source_name, target_doc=None, for_supplier=
},
"Request for Quotation Item": {
"doctype": "Supplier Quotation Item",
"field_map": {"name": "request_for_quotation_item", "parent": "request_for_quotation"},
"field_map": {
"name": "request_for_quotation_item",
"parent": "request_for_quotation",
"project_name": "project",
},
},
},
target_doc,

View File

@@ -430,7 +430,7 @@ def make_request_for_quotation(source_name, target_doc=None):
"field_map": [
["name", "material_request_item"],
["parent", "material_request"],
["uom", "uom"],
["project", "project_name"],
],
},
},