mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
fix: resolve conflict
This commit is contained in:
@@ -1206,13 +1206,8 @@ def get_values_from_purchase_doc(purchase_doc_name, item_code, doctype):
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
"company": purchase_doc.company,
|
"company": purchase_doc.company,
|
||||||
<<<<<<< HEAD
|
|
||||||
"purchase_date": purchase_doc.get("bill_date") or purchase_doc.get("posting_date"),
|
|
||||||
"gross_purchase_amount": flt(first_item.base_net_amount),
|
|
||||||
=======
|
|
||||||
"purchase_date": purchase_doc.get("posting_date"),
|
"purchase_date": purchase_doc.get("posting_date"),
|
||||||
"net_purchase_amount": flt(first_item.base_net_amount),
|
"gross_purchase_amount": flt(first_item.base_net_amount),
|
||||||
>>>>>>> 145d40dec8 (fix: use posting_date instead of bill_date from purchase invoice)
|
|
||||||
"asset_quantity": first_item.qty,
|
"asset_quantity": first_item.qty,
|
||||||
"cost_center": first_item.cost_center or purchase_doc.get("cost_center"),
|
"cost_center": first_item.cost_center or purchase_doc.get("cost_center"),
|
||||||
"asset_location": first_item.get("asset_location"),
|
"asset_location": first_item.get("asset_location"),
|
||||||
|
|||||||
Reference in New Issue
Block a user