c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13912
Re: [Bug 705198] Re: critical regression: datetime field break format and block the system!
*** This bug is a duplicate of bug 698134 ***
https://bugs.launchpad.net/bugs/698134
Hey thanks Olivier,
you saved our day with your tip.
On Thu, Jan 20, 2011 at 7:33 AM, Olivier Dony (OpenERP) <
705198@xxxxxxxxxxxxxxxxxx> wrote:
> *** This bug is a duplicate of bug 698134 ***
> https://bugs.launchpad.net/bugs/698134
>
> This is a duplicate of bug 698134, and is due to the fix for bug 674079,
> which may reveal hidden issues in older databases.
> Please read comment #17 on bug 698134 for the steps to fix older databases.
>
> ** This bug has been marked a duplicate of bug 698134
> Datetime format issues preventing objects from being saved
> * You can subscribe to bug 698134 by following this link:
> https://bugs.launchpad.net/openobject-client/+bug/698134/+subscribe
>
> ** Summary changed:
>
> - critical regression: datetime field break format and block the system!
> + datetime field cannot process datetime formats with %r, %t etc (when
> updating older databases)
>
> --
> You received this bug notification because you are a member of OpenERP
> Framework Experts, which is subscribed to OpenERP Web Client.
> https://bugs.launchpad.net/bugs/705198
>
> Title:
> datetime field cannot process datetime formats with %r, %t etc (when
> updating older databases)
>
> Status in OpenERP GTK Client:
> Incomplete
> 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
>
>
>
--
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:
datetime field cannot process datetime formats with %r, %t etc (when
updating older databases)
Status in OpenERP GTK Client:
Incomplete
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