Пример #1
0
 def editAccountType(self, id, name, canadvance):
     accounttype = AccountService().getAccountType(id)
     if accounttype:
         accounttype.name = name
         accounttype.canadvance= canadvance
         accounttype.put()
Пример #2
0
 def editCurrency(self, id, name, symbol):
     currency = AccountService().getCurrency(id)
     if currency:
         currency.name = name
         currency.symbol = symbol
         currency.put()