← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 674549] [NEW] [5.0] Context lose on one2many field

 

Public bug reported:

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

** Affects: openobject-client
     Importance: Undecided
         Status: New

** Affects: openobject-client/5.0
     Importance: Undecided
         Status: New


** Tags: context field one2many xml

** Tags added: context field one2many xml

** Also affects: openobject-client/5.0
   Importance: Undecided
       Status: New

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

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





Follow ups

References