← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 674549] Re: Context lose on one2many field

 

** Description changed:

  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
+ on the rpc call, in this case we cannot pass default value (default_xxx)
+ when click on new button, and choose 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
+   LANG=fr_FR.UTF-8

-- 
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: Confirmed
Status in OpenObject GTK Client 5.0 series: Won't Fix
Status in OpenObject GTK Client trunk 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 default value (default_xxx) when click on new button, and choose 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