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()
def set_accounting_system(): Parameter.change_value( 'accounting-system', 'diacamma.accounting.system.french.FrenchSystemAcounting') Params.clear() clear_system_account()