Error in generating Gross Profit report

After running “bench update” today I am receiving an error trying to generate a Gross Profit

pymysql.err.OperationalError: (1052, “Column ‘company’ in where clause is ambiguous”)