← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 649629] Re: Cannot get context when add 2nd record

 

Hello,

I have checked your bug specification with updated code at my end
but I found the context at second record also.

Would you please update your code and notify us if the same problem
occurs again.

Thanks.

** Changed in: openobject-client-web
       Status: New => Invalid

-- 
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/649629

Title:
  Cannot get context when add 2nd record

Status in OpenObject Web Client:
  Invalid

Bug description:
  ("xxx" is one2many field )    
<field name="xxx"  context="{'type':'in'}">
    <tree string="Cheques" editable="bottom">
           <field name="type"/>
    </tree>
</field>

When I add the first record in the tree view, I can get the context. 
But when I add the 2nd record, I cannot get the context.
The solution is press the "Create new record" button on each record, but it waste of time when there are many records.