Comment 6 for bug 915975

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote : Re: Fields.related writes to the target model with source id

Hello Stefan ,

Yes,You are right , I have seen some inconsistancy in this situation.

Let me explain:
---------------------------

We have created M2M related field with type "M2M".

When I have added a record in releted field then its removed which is
the first inconstancy(See which shows in video).

I have added record in regular "M2M" field then it is affact (attached) on related field
which is correct.

Now I have removed this record from related field, then same record is also
removed from the regular field,So again I said it also inconsistant behaviour.

Lets compare this behaviour M2O field,

I have checked this same behaviour in 6.0(M2O relation on Hr_employee object)
and removed the readonly="1" from parent_id field.Now you can see manager field is related
with department when I am changing the department ,Manager will change and
If I remove the manager from there, Department will as it is.One more thing is I change manager
field is does't affect to the department field.

From this behaviour M2O is working fine and for M2M related field have inconsitant
behaviour,That's why I am confirming this issue also I have attached video which is describe
the problem more clearly.

Thanks for understanding!