formatLang with date=True gives ValueError
Bug #791117 reported by
ViktorNagy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
I've put [[ formatLang(
After getting into ipdb, I've found out that str(value) does not work.
Here is the relevant traceback:
ValueError: ValueErr.
> /home/akasha/
298 if date or date_time:
--> 299 if not str(value):
300 return ''
ipdb> value
'2011-06-01 09:28:04'
ipdb> str(value)
*** ValueError: unconverted data remains: 09:28:04
ipdb> value
'2011-06-01 09:28:04'
ipdb> type(value)
<class 'report.
I'm using rev3356
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-791117-ara
Rejected
for merging
into
lp:openobject-addons
- Mustufa Rangwala (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 25 lines (+2/-2)2 files modifiedsale/sale.py (+1/-1)
sale/sale_view.xml (+1/-1)
lp:~openerp-dev/openobject-server/trunk-bug-791117-ysa
- Naresh(OpenERP) (community): Approve
-
Diff: 31 lines (+5/-2)1 file modifiedopenerp/report/report_sxw.py (+5/-2)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP's Framework R&D (openerp-dev-framework) |
status: | Confirmed → In Progress |
status: | In Progress → Confirmed |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
This field is defined as a date type in py file and shows this field as a datetime manner in sale order view using datetime widget, Which is not proper.
Regarding the traceback of specified bug did not face by me but the date is not printed in my output report.
Thanks.