The constructor of OdooEditor called a function that initialized the Powerbox. This moves that function inline into the constructor to avoid a function called only once, and moves the main commands and categories directly into the arguments to `new Powerbox()`. closes odoo/odoo#97725 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>