← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 674549] Re: [5.0] Context lose on one2many field

 

** Changed in: openobject-client/5.0
       Status: New => Confirmed

** Changed in: openobject-client/5.0
   Importance: Undecided => Medium

-- 
[5.0] Context lose on one2many field
https://bugs.launchpad.net/bugs/674549
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: New
Status in OpenObject GTK Client 5.0 series: Confirmed

Bug description:
OpenObject: 5.0.15
Server revno: 2149
Addons revno: 2880
Client revno: 1094
Web    revno: 2944

when we define a context on XML one2many field (<field .... context="{'form_view_ref': 'module.xml_id'}"/>), the context is not pass on the rpc call, in this case we cannot pass defautl value (default_xxx) when clic on new button, and chose which xml view we want for form view with form_view_ref on fields_view_get

I have made a patch and branch to fix this issue 

Distribution: Ubuntu
Version: 9.10 (karmic)
Python 2.6.4

Locale:
  LANG=fr_FR.UTF-8





References