← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Visibility changed to: Public

** This bug is no longer flagged as a security vulnerability

-- 
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:
  New

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.