c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13355
[Bug 705198] Re: critical regression: datetime field break format and block the system!
All right, so for the GTK client the regression has been introduced by commit #1764 tfr@xxxxxxxxxxx-20110110134630-wyrf8yutuzky0gag by Thibault Francois
rev #1763 still works.
Regarding the web-client bug, I didn't bissected to find out the culprit, I let that to OpenERP SA from there, it should be pretty easy now.
Note that my server has the pt_BR locale while my client has an en_US locale I believe, but Renato coul also reproduce it with a pt_BR locale too. In your case Cristian, I believe you are using the Equator locale, right?
I insist, it would be really bad to release with that bug because users
whose localization trigger that bug will see OpenERP as a joke. This is
sad that this regression has been introduced 10 days before the stable
release. It has been a long time that OpenERP trunk hasn't been that
bad, and unfortunately that comes right at the release time...
** Changed in: openobject-client
Importance: Undecided => High
** Also affects: openobject-client-web
Importance: Undecided
Status: New
** Changed in: openobject-client-web
Importance: Undecided => High
** Changed in: openobject-client-web
Status: New => Confirmed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/705198
Title:
critical regression: datetime field break format and block the system!
Status in OpenERP GTK Client:
Confirmed
Status in OpenERP Web Client:
Confirmed
Bug description:
Hello in client at revno 1789 this bug is general for this field type,
when +10d or whatever trying to change the value give me this error in
client:
Traceback (most recent call last):
File "/home/ovnicraft/development/openerp/client/bin/widget/view/form_gtk/date_widget.py", line 172, in _on_key_press
if self.callback_process: self.callback_process(False, self, event)
File "/home/ovnicraft/development/openerp/client/bin/widget/view/form_gtk/date_widget.py", line 229, in _process_cb
dt = tools.datetime_util.strptime(dt, self.widget.format)
File "/usr/lib/python2.6/_strptime.py", line 317, in _strptime
(bad_directive, format))
ValueError: 'r' is a bad directive in format '%m/%d/%Y %r'
In client the field is showed as attach
References