Remove default_timezone
This commit is contained in:
1 parent
6e275fc24e
commit
4cc41ec86f
1 file changed
-4
@@ -1,6 +1,5 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
"User"
|
||||
import time
|
||||
import copy
|
||||
from trytond.osv import fields, OSV, ExceptOSV
|
||||
from trytond.wizard import Wizard, WizardOSV
|
||||
@@ -65,9 +64,6 @@ class User(OSV):
|
||||
def default_active(self, cursor, user, context=None):
|
||||
return 1
|
||||
|
||||
def default_timezone(self, cursor, user, context=None):
|
||||
return time.tzname[0]
|
||||
|
||||
def default_menu(self, cursor, user, context=None):
|
||||
action_obj = self.pool.get('ir.action')
|
||||
action_ids = action_obj.search(cursor, user, [
|
||||
|
||||
Reference in new issue
Block a user