`assert_log_admin_access` uses the `name` field of `ir.module.module` for logging. `assert_log_admin_access` was added to `install_demo` method of `ir.demo` in d345fb649e3e3c1bf141dca49b45503b8b3a7164 but `ir.demo` does not have `name` field, hence causing AttributeError. The proposed solution here is to use `display_name` instead closes odoo/odoo#79398 X-original-commit: 9d6f54e7f7219cbbda41129e35682f6a76aae1d4 Signed-off-by: Julien Castiaux <juc@odoo.com> Signed-off-by: Raman Obaid Ahmed (raob) <raob@odoo.com>