file_open broken for pathinfo=True
Bug #928507 reported by
Florent
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
This code shows the issue (OpenERP 6.1).
>>> from openerp.tools import file_open
>>> file_open(
<open file '/home/
>>> file_open(
((<open file '/home/
--> It returns ((file_obj, filename), filename) instead of (file_obj, filename).
Related branches
lp:~florent.x/openobject-server/trunk-tools-file_open
- Florent (community): Approve
- Olivier Dony (Odoo): Approve
-
Diff: 185 lines (+68/-54)2 files modifiedopenerp/modules/module.py (+14/-11)
openerp/tools/misc.py (+54/-43)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Florent's patch was merged in trunk (7.0) at revision 4386 revision-id: <email address hidden>
Thanks for the excellent contribution!