chore: resolve conflicts

This commit is contained in:
Mihir Kandoi
2026-03-01 15:49:00 +05:30
parent 8e59fe90cc
commit 6ac2f510a6

View File

@@ -1126,13 +1126,8 @@ def get_billed_amount_against_po(po_items):
def update_billing_percentage(pr_doc, update_modified=True, adjust_incoming_rate=False):
# Update Billing % based on pending accepted qty
buying_settings = frappe.get_single("Buying Settings")
<<<<<<< HEAD
over_billing_allowance = frappe.db.get_single_value("Accounts Settings", "over_billing_allowance")
=======
over_billing_allowance, role_allowed_to_over_bill = frappe.get_single_value(
"Accounts Settings", ["over_billing_allowance", "role_allowed_to_over_bill"]
)
>>>>>>> 04127019f9 (fix: allow allowed roles to bypass over billing validation)
role_allowed_to_over_bill = frappe.db.get_single_value("Accounts Settings", "role_allowed_to_over_bill")
total_amount, total_billed_amount, pi_landed_cost_amount = 0, 0, 0
item_wise_returned_qty = get_item_wise_returned_qty(pr_doc)