← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 587814] Re: GTK Client - v5.0.6 incompatibility with python2.4

 

Hello,
Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!

** Changed in: openobject-client
       Status: New => Won't Fix

-- 
GTK Client - v5.0.6 incompatibility with python2.4
https://bugs.launchpad.net/bugs/587814
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Won't Fix

Bug description:
On Centos 5.4 with a default python version 2.4.3  which is the minimum Py. version that suppose to work,
 when trying to click on the "New Purchase Order" Link in GTK Client - v5.0.*  (tested on v5.0.6 and v5.0.9 too) it will display the following message on the clientv5.0.9 console:

Traceback (most recent call last):
  File "/Data/workspace/openerp/client/bin/modules/gui/window/tree.py", line 194, in sig_open
    if not self.sig_action(widget, 'tree_but_open', warning=False):
  File "/Data/workspace/openerp/client/bin/modules/gui/window/tree.py", line 188, in sig_action
    warning=warning)
  File "/Data/workspace/openerp/client/bin/modules/action/main.py", line 185, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/Data/workspace/openerp/client/bin/modules/action/main.py", line 130, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'])
  File "/Data/workspace/openerp/client/bin/modules/gui/window/__init__.py", line 51, in create
    auto_refresh=auto_refresh)
  File "/Data/workspace/openerp/client/bin/modules/gui/window/form.py", line 135, in __init__
    self.sig_new(autosave=False)
  File "/Data/workspace/openerp/client/bin/modules/gui/window/form.py", line 288, in sig_new
    self.screen.new()
  File "/Data/workspace/openerp/client/bin/widget/screen/screen.py", line 420, in new
    self.display()
  File "/Data/workspace/openerp/client/bin/widget/screen/screen.py", line 567, in display
    self.current_view.display()
  File "/Data/workspace/openerp/client/bin/widget/view/form.py", line 404, in display
    widget.display(model, state)
  File "/Data/workspace/openerp/client/bin/widget/view/form.py", line 51, in display
    self.widget.display(model, modelfield)
  File "/Data/workspace/openerp/client/bin/widget/view/form_gtk/calendar.py", line 122, in display
    date=DT.strptime(value[:10], DT_FORMAT)
AttributeError: type object 'datetime.datetime' has no attribute 'strptime