mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 09:47:14 +00:00
refactor: add "margin_type" and "margin_rate_or_amount" to no copy
(cherry picked from commit 70f090c1ec)
This commit is contained in:
committed by
Mergify
parent
f397361ba7
commit
487b5776e6
@@ -1347,6 +1347,8 @@ def make_purchase_order_for_default_supplier(source_name, selected_items=None, t
|
||||
"discount_percentage",
|
||||
"discount_amount",
|
||||
"pricing_rules",
|
||||
"margin_type",
|
||||
"margin_rate_or_amount",
|
||||
],
|
||||
"postprocess": update_item,
|
||||
"condition": lambda doc: doc.ordered_qty < doc.stock_qty
|
||||
|
||||
Reference in New Issue
Block a user