mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Merge pull request #883 from akhileshdarjee/master
[feature] pos view added in all sales & purchase cycle
This commit is contained in:
@@ -426,6 +426,7 @@ def get_address_territory(address_doc):
|
||||
|
||||
def validate_conversion_rate(currency, conversion_rate, conversion_rate_label, company):
|
||||
"""common validation for currency and price list currency"""
|
||||
|
||||
if conversion_rate == 0:
|
||||
msgprint(conversion_rate_label + _(' cannot be 0'), raise_exception=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user