Comment 9 for bug 803788

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Hello,

I cannot confirm the bug on LP here, but I do practically.

The actual problem was here:

The button did not pass any context and thus updating any 'active_ids'(poweremail/poweremail_core_view.xml line 83), whereas the _get_folders method ((poweremail/poweremail_core.py line 1100) is looking for context['active_ids'].

Normally active_ids,active_id for actions contains the Id of menu, unless modified.

In this case, the id appears as the id of the menu.

Additionally, I see a bug in GTK/web both as they don't seem to send context (of an action called from button) to the methods.(poweremail/poweremail_core_view.xml line 34 becomes useless here).

In GTK, the action being read is of 'ir.actions.actions'(bin/modules/action/main.py line 78) instead of 'ir.actions.act_window'.

The attached merge fixes the problem.

Thanks,
Serpent Consulting Services.