[Trunk/7.0] note cannot import records (error upon validation)

Bug #1093800 reported by Grégoire Krieg (OpenERP)
16
This bug affects 3 people
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://7_0_985.runbot.openerp.com, with no modules installed= base)

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.

Tags: maintenance

Related branches

Revision history for this message
Grégoire Krieg (OpenERP) (gkr-openerp) wrote :
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :
summary: - [7.0] note cannot import records (error upon validation)
+ [Trunk/7.0] note cannot import records (error upon validation)
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
Revision history for this message
Ray Carnes (rcarnes) wrote :

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.

Revision history for this message
Grégoire Krieg (OpenERP) (gkr-openerp) wrote : Re: [Bug 1093800] Re: [Trunk/7.0] note cannot import records (error upon validation)

OK can you forward me the ticket number so I can put myself as follower and
will do regular checkups about the issue with Dhara.

Best,

On Thu, Jan 30, 2014 at 12:30 PM, Ray Carnes <email address hidden>wrote:

> 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.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1093800
>
> Title:
> [Trunk/7.0] note cannot import records (error upon validation)
>
> Status in OpenERP Server:
> Confirmed
>
> Bug description:
> Environment
> On runbot (http://7_0_985.runbot.openerp.com, with no modules
> installed= base)
>
> 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.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-server/+bug/1093800/+subscriptions
>

--
Grégoire Krieg
OpenERP Consultant
Cell: (650) 241-8457
Skype: gkr_openerp

tags: added: maintenance
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hi,

We have merged a fix for this issue, thanks for the report

revno: 5222 [merge]
revision-id: <email address hidden>

Changed in openobject-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.