AttributeError: 'NoneType' object has no attribute 'strftime'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Thailand |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I've been trying to install the ac_account_thai module after downloading from launchpad, and get an AttributeError with the following backtrace:
Environment Information :
System : Linux-2.
OS Name : posix
LSB Version: core-2.
Distributor ID: SUSE LINUX
Description: openSUSE 11.1 (i586)
Release: 11.1
Codename: n/a
Operating System Release : 2.6.27.39-0.2-pae
Operating System Version : #1 SMP 2009-11-23 12:57:38 +0100
Operating System Architecture : 32bit
Operating System Locale : en_AU.UTF8
Python Version : 2.6.0
OpenERP-Client Version : 5.0.6
Last revision No. & ID :1015 <email address hidden>
Traceback (most recent call last):
File "/usr/local/
result = LocalService(
File "/usr/local/
return getattr(self, method)(*params)
File "/usr/local/
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/local/
return wiz.execute(db, uid, self.wiz_
File "/usr/local/
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/local/
action_res = action(self, cr, uid, data, context)
File "/usr/local/
db, pool = pooler.
File "/usr/local/
return get_db_
File "/usr/local/
addons.
File "/usr/local/
r = load_module_
File "/usr/local/
init_
File "/usr/local/
result = obj._auto_init(cr, {'module': module_name})
File "/usr/local/
default = self._defaults[
File "/usr/local/
"date": lambda *a: time.strftime(
AttributeError: 'NoneType' object has no attribute 'strftime'
Changed in openerp-thai: | |
status: | New → Invalid |
Dear all,
I also get same error and I try to find the solution then I found
that it may because of the "DEMO DATA" that you check during creating
the new Database
I don't know why maybe because of default value and parameter is not
suit for the structure, so you can try to uncheck that box and try to
install it again
For me it work !!
Hope that if other issues occur to me, it will be somebody who give me a
hand.
Cheers,
Kanit - IDIN9