コード例 #1
0
ファイル: views_admin.py プロジェクト: Diacamma2/financial
 def fillresponse(self, account_system=''):
     if account_system != '':
         if self.confirme(_('Do you confirm to select "%s" like accounting system?{[br/]}{[br/]}{[i]}{[u]}Warning{[/u]}: This choose is definitive.{[/i]}') %
                          accounting_system_name(account_system)):
             Parameter.change_value('accounting-system', account_system)
             Params.clear()
             clear_system_account()
コード例 #2
0
ファイル: test_tools.py プロジェクト: Diacamma2/financial
def set_accounting_system():
    Parameter.change_value(
        'accounting-system', 'diacamma.accounting.system.french.FrenchSystemAcounting')
    Params.clear()
    clear_system_account()