← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 720964] Re: one of the records you tried to change was already removed

 

Hello,

I have tested the scenario given by you with the modification in current
code.

I have assumed the scenario as follows.

Class A: res.partner
Class B: res.partner.address
class C: res.partner.bank 

'test_id' : fields.related('partner_id','address',type="one2many",
relation='res.partner.address', string="Test"),

In class C I have add the one related filed test_id as suggested by you
and I did not meet with any error at my end.

I have attached the video for your reference, So please gone through it
and notify us, If we did wrong steps while performing  your scenario.

Waiting for your reply.

Thanks.
 

** Attachment added: "test.ogv"
   https://bugs.launchpad.net/openobject-server/+bug/720964/+attachment/1866775/+files/test.ogv

** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/720964

Title:
  one of the records you tried to change was already removed

Status in OpenERP Server:
  Incomplete

Bug description:
  Hi,

  I have a class A with a one2many field to class B. Class C has a
  many2one relation to class A and a related field to the collection of
  B object through its reference of class A. When I try to add a record
  of class B to the related one2many collection within the form view of
  class C I get the following error:

  Code: AccessError

  One of the record you try to modify is already remove (document type:
  class A)

  I only get this error when the collection of B object is empty. The
  moment one entity is already in the collection, the additions of B
  object works fine.

  In this a bug or am I missing something
  Frederik



References