[Trunk/7.0] note cannot import records (error upon validation)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Environment
On runbot (http://
Steps used to reproduce error
1. Go to Messaging > Organizer > Notes
2. Go to list view in order to import. Then import the file in attachment
3. When clicking on validate, you receive the following error message from server appears:
TypeError: 'NoneType' object is not callable
I expected there to be a validation message under the filter options of the csv not a server error traceback. Does this mean that importing notes in not feasible. If it is what is the practice?
Additional comment
Note that there is a m2m relationship between the note.note and note.stage with the table note.stage.rel because the stage field is a function field.
Related branches
- Martin Trigaux (OpenERP) (community): Approve
- Olivier Dony (Odoo): Pending requested
- Naresh(OpenERP): Pending requested
-
Diff: 21 lines (+4/-0)1 file modifiedopenerp/addons/base/ir/ir_fields.py (+4/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | OpenERP R&D Addons Team 1 (openerp-dev-addons1) → OpenERP's Framework R&D (openerp-dev-framework) |
affects: | openobject-addons → openobject-server |
tags: | added: maintenance |
Hi Grégoire,
I had the same problem today trying to import mail.message records (chatter).
The problem is the CONTENTS field.
If you don't import this field, the CSV file you attached imports.
If I don't import this field with my mail.message records, my CSV imports.
The problem then is with OpenERP importing to HTML fields - so this problem and mine are really part of a larger bug "OpenERP cannot import CSV into HTML fields at v7"
I have reported the problem with an OPW.