Context lose on one2many field
Bug #674549 reported by
Christophe CHAUVET
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Won't Fix
|
Medium
|
Unassigned | |||
Trunk |
Confirmed
|
Wishlist
|
OpenERP sa GTK client R&D |
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=
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
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.