for the records the problem was in populate_popup having self and view some-why different http://git.ojuba.org/cgit/thawab/commit/?id=e73cad3b79769567b438aea95f524d69c34fb9cc the problem is now solved