How should multi-currency payroll be properly configured and processed when company base currency is

I’m setting up payroll where the company currency is local and employee salaries are paid in USD. Salary components, payroll payable, and bank accounts are all set in USD. However, when processing payroll and creating bank entries, I get an error

Please check Multi Currency option to allow accounts with other currency