odoo/enterprise#74571

Created by SM Learn, Pierre-Yves Dufays (pydu)
Merged at 5c538396ea5431e55a2c406b5bac2c90cee37f93

Statuses:

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

[IMP] documents_*, various: simplify document settings

[IMP] documents_spreadsheet: remove default folder

We remove the spreadsheet default folder from the settings and make all spreadsheets lands into My Drive if they were created from somewhere else than Documents.

[IMP] documents_sign: remove sign base folder

We remove the base folder configuration for sign. That folder was used as base folder when creating a folder in the sign app. It's still possible to create a folder on the fly in the sign app but the parent folder is not configurable anymore.

We also change the wording of the link to the sign document templates in the settings.

[IMP] documents_project: allow to configure base folder

We add a settings allowing the user to choose the base folder where new project
folders will appear.

[IMP] documents_{*}: rename workspace label as folder

[IMP] documents_{*}: avoid file centralization empty settings block

When installing only documents, an empty section "Files centralization" is present in the settings.

We solve the problem by making invisible by default when it is declared in the documents App and make it visible in all module that add a setting in that block.

[IMP] documents_{*}: reword some labels of the "Files centralization" settings

We reword some labels of the "Files centralization" settings.

[IMP] documents_{*}: enable by default document centralization for some modules

We enable by default the document centralization for some modules.

Note that the post init is necessary as the module only set the folder for the main company and other company can exist at the install of those module. A simple way to test that is to install stock (which create "My company (Chicago)") and documents_hr. We apply the same correction to documents_fleet for which the document centralization was already enabled by default.

[IMP] documents, documents_{*}: rename internal as administrative folder

We rename the internal folder as administrative folder as internal doesn't mean much. We have decided to not rename the xmlid as it is used in the code of the server action which is complex to update.

task-4294237