Skip to content

Commit

Permalink
fix: Maintain same rate on qty change on Quotation to Sales Order
Browse files Browse the repository at this point in the history
(cherry picked from commit 91ce9fc)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Aug 8, 2024
1 parent a81bc28 commit 7ed7c22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/public/js/controllers/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
"Sales Invoice Item": ["dn_detail", "so_detail", "sales_invoice_item"],
"Purchase Receipt Item": ["purchase_order_item", "purchase_invoice_item", "purchase_receipt_item"],
"Purchase Invoice Item": ["purchase_order_item", "pr_detail", "po_detail"],
"Sales Order Item": ["prevdoc_docname", "quotation_item"],
};
const mappped_fields = mapped_item_field_map[item.doctype] || [];

Expand Down

0 comments on commit 7ed7c22

Please sign in to comment.