I created and customized a new module in Odoo 12. I want to add the feature same as the follows.
In HR module, the attendance button ( on the right upper corner ) do not show when Attendance module is not installed.
attendance button show when Attendance module is installed in the HR Employee.