mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
refactor: add "margin_type" and "margin_rate_or_amount" to no copy
This commit is contained in:
committed by
ruthra kumar
parent
c74bc51b41
commit
70f090c1ec
@@ -1364,6 +1364,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