openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11621
[Bug 1001926] Re: DataError: time zone "gmt+0200" not recognized
*** This bug is a duplicate of bug 1001260 ***
https://bugs.launchpad.net/bugs/1001260
** This bug has been marked a duplicate of bug 1001260
[Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1001926
Title:
DataError: time zone "gmt+0200" not recognized
Status in OpenERP Server:
New
Bug description:
Here is the scenario to reproduce the problem with server-trunk (revno
4162) web-trunk (revno 2455) and addons-trunk (revno 6810 + the patch
available here : https://bugs.launchpad.net/openobject-
addons/+bug/1001806) :
1. Install the "sale" module
2. Create a sale order with one "CPU1" product and with "Create invoice" = "On delivery order"
3. Confirm the sale order
4. Open the corresponding delivery order : do "Force availability" and then "Deliver"
5. Do "Create invoice" : in the pop-up wizard :
- if you have applied the patch available on https://bugs.launchpad.net/openobject-addons/+bug/1001806, you should be able to select a "Destination journal"
- set the "Invoiced date" (don't leave it empty in order to trigger the bug)
- Click on "Create" -> you get this crash :
Server Traceback (most recent call last):
File "/home/alexis/new_boite/dev/web-trunk/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/alexis/new_boite/dev/server-trunk/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/alexis/new_boite/dev/server-trunk/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/alexis/new_boite/dev/server-trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/alexis/new_boite/dev/server-trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/alexis/new_boite/dev/server-trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/alexis/new_boite/dev/server-trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/alexis/new_boite/dev/server-trunk/openerp/osv/orm.py", line 4217, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/home/alexis/new_boite/dev/server-trunk/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/home/alexis/new_boite/dev/server-trunk/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
DataError: time zone "gmt+0200" not recognized
LINE 1: ...p","journal_id",create_uid,create_date) values (1,'Sun May 2...
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1001926/+subscriptions
References