← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

I see 2 points here.

1. Context being passed to methods of one2many. I see that it is working perfect. Examples are Partner bank,move lines creation,etc.
2. 'form_view_ref' : If I am not wrong, this is not available for o2m fields yet.

Sorry, but it is a major change in terms of attributes of O2M,so setting as won't fix for stable.
You may contact maintenance team for the same if you wish to get this fixed on stable.

On trunk, I would opt to set as invalid as I dont see any issue.

Correct me If I missed anything.

Thanks.


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

** Changed in: openobject-client/5.0
       Status: Confirmed => Won't Fix

** Changed in: openobject-client/5.0
    Milestone: 5.0.15 => None

** Changed in: openobject-client/trunk
       Status: New => Invalid

** Summary changed:

- [5.0] Context lose on one2many field
+ Context lose on one2many field

** Changed in: openobject-client/5.0
       Status: Won't Fix => Invalid

** Changed in: openobject-client/5.0
       Status: Invalid => Won't Fix

** Changed in: openobject-client/trunk
   Importance: Undecided => Wishlist

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