mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
[fix] Validate rate with reference doc
This commit is contained in:
@@ -124,8 +124,8 @@ class DeliveryNote(SellingController):
|
||||
})
|
||||
|
||||
if cint(frappe.db.get_single_value('Selling Settings', 'maintain_same_sales_rate')) and not self.is_return:
|
||||
self.validate_rate_with_reference_doc([["Sales Order", "sales_order", "so_detail"],
|
||||
["Sales Invoice", "sales_invoice", "si_detail"]])
|
||||
self.validate_rate_with_reference_doc([["Sales Order", "against_sales_order", "so_detail"],
|
||||
["Sales Invoice", "against_sales_invoice", "si_detail"]])
|
||||
|
||||
def validate_proj_cust(self):
|
||||
"""check for does customer belong to same project as entered.."""
|
||||
|
||||
Reference in New Issue
Block a user