mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
fix(subscription): added the cost center from the subscription plan to invoice item
This commit is contained in:
@@ -432,7 +432,6 @@ class Subscription(Document):
|
|||||||
items_list = self.get_items_from_plans(self.plans, is_prorate())
|
items_list = self.get_items_from_plans(self.plans, is_prorate())
|
||||||
|
|
||||||
for item in items_list:
|
for item in items_list:
|
||||||
item["cost_center"] = self.cost_center
|
|
||||||
invoice.append("items", item)
|
invoice.append("items", item)
|
||||||
|
|
||||||
# Taxes
|
# Taxes
|
||||||
|
|||||||
Reference in New Issue
Block a user