c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13350
Re: [Bug 705198] Re: datetime field break format
Hello,
I tend to confirm this bug, I see %t here instead of your %r, but the issue
seems the same. Sucks big time to have that surpirse regression in the
'stable' release.
On Wed, Jan 19, 2011 at 10:47 PM, Cristian Salamea (Gnuthink) <
ovnicraft@xxxxxxxxx> wrote:
>
> ** Attachment added: "datetime_field.png"
>
> https://bugs.launchpad.net/bugs/705198/+attachment/1800047/+files/datetime_field.png
>
> --
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenERP GTK Client.
> https://bugs.launchpad.net/bugs/705198
>
> Title:
> datetime field break format
>
> Status in OpenERP GTK Client:
> New
>
> 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 break format
Status in OpenERP GTK Client:
New
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