Merge lp:~openerp-dev/openobject-addons/6.0-opw-576907-rha into lp:openobject-addons/6.0
Status: | Approved |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 5294 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-576907-rha |
Merge into: | lp:openobject-addons/6.0 |
Diff against target: |
12 lines (+1/-1) 1 file modified
document/document.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-576907-rha |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+115276@code.launchpad.net |
Description of the change
Hello,
I have changed type of the document name from str to unicode. Problem occurs
when we have accented char in document name, it generated error.
Steps to re-produce:
1. Install module document. Create a document with name "Brochure_
Provide any Directory and save record.
2. Now edit record, change Directory and try to save. Error occurs!
"raise NotImplementedE
NotImplementedE
In write(), it calls fnode.move_to() and it fails name checking in this method because
of type difference of name which is str and unicode.
Please review it.
Regards,
Rifakat
Unmerged revisions
- 5294. By Rifakat Husen (OpenERP)
-
[FIX] document: converted document name type from str to unicode in case name contains accented characters