Daily updates from Odoo
Wednesday, September 4, 2024
4 changes · master
Enhancements to existing features
Website Studio now manages website controller pages in a clearer, more reliable way, separating listing pages from individual record pages behind the scenes. The interface for managing these pages has been refreshed, and website form creation is moved to the standard website snippet options so users can expose models as pages more naturally.
Studio exports can now include selected business and demo data, not just customizations, giving administrators more complete packages to reuse across databases. A review wizard, field exclusions, attachment options, and safeguards around user-linked contacts help reduce the risk of exporting sensitive information.
Original PR description
# Main commit: ## [IMP] web_studio: export master and demo data **Before this commit** The studio export feature allows to export all customizations done through Studio. The export action has no UI,…
# Main commit: ## [IMP] web_studio: export master and demo data **Before this commit** The studio export feature allows to export all customizations done through Studio. The export action has no UI, instead the generated module is directly generated and downloaded. **After this commit** The export feature now enables exporting master and demo data as well. The admin user can: - select a set of models to export as master data - choose to export a model as demo data instead - choose to include the related attachments - choose a set of fields not to export There is an autofill button that presets the models to export. As this feature could lead to a leakage of sensible information, a wizard has been implemented to permit the administrator to review the records that will get exported. A warning message also invites him to take extreme caution. As an extra precaution, no res.partner linked to a res.users record will get exported. **Additional Notes** This feature has been developed with a specific usecase as a workhorse, but it is indeed obvious that more complex case will not work out of the box. The export feature will work but some manual review/update is going to be needed in order to make the exported file importable without trouble. The user may also need to modify its exported models by: - modifying the domain to further filter the exported records - modifying the excluded fields Task id: 3446301 Co-authored-by: Bastien Fafchamps <bafa@odoo.com> Co-authored-by: Bruno Boi <boi@odoo.com> Co-authored-by: Khushi Vakil <khva@odoo.com>
Resolved issues and error corrections
This change restores a previous implementation in the appointment booking flow to fix a problem where available time slots were not shown. Customers and users can once again see and select appointment slots as expected.
Original PR description
This reverts commit 9e38975d3f1e9dc87a3061c06ce9df7cf562949c which prevents slots from being displayed. task-3928221
Features or functions removed from Odoo
The legacy Consolidation app has been removed because its purpose is now covered by the newer shared accounts feature. Existing users will need to set up shared accounts after migration, as automatic migration from the old consolidation models is not supported due to risk and report duplication concerns.
Original PR description
The old Consolidation app is now replaced by the shared accounts feature, merged here: https://github.com/odoo/odoo/commit/854c3b27aa5476c208572f19e64f8f3364bfc381 https://github.com/odoo/enterprise/commit/92bf8e36c40f99c697318ddc9784cde0a1b3736e We don't support migration from the old models to shared accounts (since it would mean heavily impacting the history in a risky way, and creating a lot of potentially redundant new reports). The accounts will need to be properly setup by the users after migration.