This was bothersome to export/import the registry and manually add the model, by providing the model name and the model class. ```js // before modelRegistry.add(Model.name, Model); // after Model.register(); ``` closes odoo/odoo#133658 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>