odoo/odoo#191459

Created by SM Learn, Florian Charlier (flch)
Merged at 18790e748b8d6c006c446b96205b174f6c9742ad

Statuses:

label
odoo-dev:master-documents-simplify-settings-pydu
head
7ab8a3a9f11dc175616b377f09828644bc2c2d98
merged
4 months ago by SM Learn, Stéphane Debauche (std)
odoo/odoo odoo/enterprise odoo/upgrade
master #191459 #188583 #74571 #6820

[IMP] sale_timesheet: update performance query count

Following odoo/enterprise#74571 where we make the project base folder configurable, there are 3 additional queries in the test "test_performance_billable_project_change_customer" because instead of getting the base folder in _create_missing_folders method of project (in documents_project application) as:
self.env.ref('documents_project.document_project_folder').id
we get it from the company as:
self.env.company.documents_project_folder_id.id
which requires 3 additional queries to apply record rules.

task-4294237