mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Fixed translations and tests (#12900)
* Fixed translations and tests * minor fixes * minor test fixes
This commit is contained in:
@@ -194,7 +194,7 @@ class Opportunity(TransactionBase):
|
||||
self.customer = None
|
||||
elif self.enquiry_from == 'Customer':
|
||||
if not self.customer:
|
||||
msgprint("Customer is mandatory if 'Opportunity From' is selected as Customer", raise_exception=1)
|
||||
msgprint(_("Customer is mandatory if 'Opportunity From' is selected as Customer"), raise_exception=1)
|
||||
else:
|
||||
self.lead = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user