Friday, May 10, 2019
2 changes · master
Resolved issues and error corrections
This change updates the Base module to identify the main administrator using the configured system constant instead of assuming it is always user ID 1. This helps avoid access issues in databases where the administrator has a different internal ID.
Original PR description
**Description of the issue/feature this PR addresses:** If you check for 1 instead for SUPERUSER_ID you may face problems if the SUPERUSER_ID has a different number. **Current behavior before PR:** To check for user root is checking for 1. **Desired behavior after PR is merged:** To check for user root is checking for SUPERUSER_ID. **Versions affected**: All. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds a missing required component for the payroll dashboard. It helps ensure the payroll dashboard loads and works reliably for users.
Original PR description
The dependency was forgotten when introducing the payroll dashboard.