fix: allow zero valuation rate toast showing even when rate is not 0

This commit is contained in:
Mihir Kandoi
2025-06-18 14:35:03 +05:30
parent e2c9e24f66
commit 41b876ff71
3 changed files with 4 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ class StockController(AccountsController):
self.validate_internal_transfer()
self.validate_putaway_capacity()
self.reset_conversion_factor()
def on_update(self):
self.check_zero_rate()
def reset_conversion_factor(self):