Comment 0 for bug 674549

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote : [5.0] Context lose on one2many field

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