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