mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
chore: fix conflicts
Removed the expense account assignment for subcontracting delivery.
This commit is contained in:
@@ -492,15 +492,9 @@ class StockEntry(StockController):
|
|||||||
flt(item.qty) * flt(item.conversion_factor), self.precision("transfer_qty", item)
|
flt(item.qty) * flt(item.conversion_factor), self.precision("transfer_qty", item)
|
||||||
)
|
)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
if self.purpose == "Subcontracting Delivery":
|
|
||||||
item.expense_account = frappe.get_value("Company", self.company, "default_expense_account")
|
|
||||||
|
|
||||||
if self.purpose == "Manufacture":
|
if self.purpose == "Manufacture":
|
||||||
item.set("expense_account", item_details.get("expense_account"))
|
item.set("expense_account", item_details.get("expense_account"))
|
||||||
|
|
||||||
>>>>>>> ce1312764f (fix(stock entry): use fg item expense account for direct manufacturing entry)
|
|
||||||
def validate_fg_completed_qty(self):
|
def validate_fg_completed_qty(self):
|
||||||
item_wise_qty = {}
|
item_wise_qty = {}
|
||||||
if self.purpose == "Manufacture" and self.work_order:
|
if self.purpose == "Manufacture" and self.work_order:
|
||||||
|
|||||||
Reference in New Issue
Block a user