mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 19:42:45 +00:00
cost_center overridden by company's default fix in SI (#14560)
This commit is contained in:
@@ -185,6 +185,7 @@ def _make_sales_invoice(source_name, target_doc=None, ignore_permissions=False):
|
||||
target.run_method("calculate_taxes_and_totals")
|
||||
|
||||
def update_item(obj, target, source_parent):
|
||||
target.cost_center = None
|
||||
target.stock_qty = flt(obj.qty) * flt(obj.conversion_factor)
|
||||
|
||||
doclist = get_mapped_doc("Quotation", source_name, {
|
||||
|
||||
Reference in New Issue
Block a user