Fixed translations and tests (#12900)

* Fixed translations and tests

* minor fixes

* minor test fixes
This commit is contained in:
Nabin Hait
2018-02-14 17:44:06 +05:30
committed by GitHub
parent 361366ebe6
commit e6d65bc2a1
43 changed files with 187 additions and 168 deletions

View File

@@ -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