mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
aii fixes
This commit is contained in:
@@ -361,7 +361,7 @@ class DocType(TransactionBase):
|
||||
sales_team_list = obj.doclist.get({"parentfield": "sales_team"})
|
||||
total_allocation = sum([flt(d.allocated_percentage) for d in sales_team_list])
|
||||
if sales_team_list and total_allocation != 100.0:
|
||||
msgprint("Total Allocated %% of Sales Persons should be 100%", raise_exception=True)
|
||||
msgprint("Total Allocated % of Sales Persons should be 100%", raise_exception=True)
|
||||
|
||||
# Check Conversion Rate (i.e. it will not allow conversion rate to be 1 for Currency other than default currency set in Global Defaults)
|
||||
# ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user