multiple one2many, wrong elements on list reload after list change

Bug #571773 reported by Michał Mazurek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
High
Vaibhav Darji

Bug Description

Hi,

Client and version: openerp-web 5.0.9

My configuration looks like this:

first window o2m: (model_1)
   - second window o2m (model_2)
      - third window o2m (model_3)

To reproduce error there have to be at least two rows in model_2 o2m. Problem exists during edition of second row, it is visible then, but exists also on first row, but it's not visible.

When I change list in third window o2m list, there is a XHR 'get' to server (url /listgrid/get), but the _terp_o2m_model parameter have value model_2. Data received from this request has attribute view, which contains table with rows from model_3:1 instead of model_3:2.

This problem occurs alson when running switch_o2m method.

Related branches

Revision history for this message
Michal Mazurek (mazurek-michal) wrote :

Hello,

Did someone checked out this bug, already? It is rather a blocker...

I would be most grateful.

Regards

Revision history for this message
Michał Mazurek (mmazurek-ifresearch) wrote :

Hello Again,

I'm still hoping for reply...

Thank you.

Regards

Revision history for this message
Jiten (OpenERP) (jiten-openerp) wrote :

Hello Michal Mazurek ,

Can you please provide more information regarding module and the flow where you are getting this error ?
How can I reproduce this bug ?

Thanks.

Revision history for this message
Michał Mazurek (mmazurek-ifresearch) wrote :

Hi,

I didn't checked for module that have this problem, this problem occurs with my module. Start a module that will have three models, m1, m2, m3. Let m1 have one2many relation with m2 and m2 should have one2many relation with m3.

Add two rows of m2 to m1, and then edit the second row in m2. When you save it, you will receive m3 elements of first row of m2 model, instead of ones you just saved.

Regards

Changed in openobject-client-web:
assignee: nobody → vda(Open ERP) (vda-tiny)
status: New → Confirmed
Revision history for this message
Vaibhav Darji (vaibhav-openerp) wrote :

Hello,
Fixed in stable.
at revision no: 2901.
<email address hidden>

Thanks.

Changed in openobject-client-web:
importance: Undecided → High
status: Confirmed → Fix Released
milestone: none → 5.0.13
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.