odoo/enterprise#74571
Created by SM Learn, Pierre-Yves Dufays (pydu)
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 0s)
- 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.