Good Evening,
I am a newbie here and i am trying to get a value into another value in frappe. Below is the Screenshot.
i already have a predefined figure for Dollars (360) so i want my result field to carry the Result from 360 * any entered amount but it seems i am doing some thing wrong.
class CurrencyConverter(Document):
def validate(self):
self.amount = 0
self.result = 0
if self.currency == 'Dollars':
self.result = 360 * self.amount
print(self.result)
Any help please