one2many_list context not passed to orm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
tried to define
<field
context=
/>
looking into ./osv/orm.py
def fields_
...
result = {'type': view_type, 'model': self._name}
ok = True
model = True
sql_res = False
while ok:
# FIXME view_ref always False
print >> sys.stderr , 'view_ref ',view_type, view_ref
if view_ref:
if '.' in view_ref:
it seems that context.
I get in the log
view_ref form False
view_ref tree False
my be I missunderstood the example in
./addons/
<field colspan="4" name="invoice_ids" nolabel="1" context=
i know - the string editable="bottom" shouldn't be in the o2m definition