Friday, May 24, 2024
6 changes · master
Enhancements to existing features
Instagram Professional Account users can now publish posts with up to 10 images at once. Previews, validation, publishing, and feed display have been updated so multi-image posts are easier to create and review consistently.
Original PR description
Purpose ======= Allow Professional Accounts to post multiple pictures at once. Specifications ============== 1> Up to 10 images can be posted at once. 2> Instagram preview and error validation has been adapted. 3> 'social_post_instagram_image' controller has been adapted for single/multiple images to be processed. 4> Feed view has been adapted so that multiple images can be shown of the post. 5> Disable the hover effect on social_* preview. Task-3446492
The appointment booking screens have been visually refreshed with a simpler, cleaner layout and clearer emphasis on appointment start times. The booking progress indicator is now available directly in Appointments, so users can benefit from guided steps even without the website appointment app installed.
Original PR description
Revamped UI for Appointments: -Eliminated card borders and background colors. -Enhanced visibility by highlighting start time. -Furthermore, moved the appointment progress bar from website_appointment to appointment module, enabling users to benefit from it without the website dependency. Task-3912312
Knowledge embedded views now show a helpful empty-state message when there are no records to display. This gives users clearer guidance and helps them create their first record directly from the embedded view.
Original PR description
This work will enable the no-content helper of the embedded views of Knowledge. When the embedded views are empty, they will now show a no-content helper indicating to the user that there is no record to display. The no-content helper will provide guidance to the users and help them creating their first record. It also includes two small refactorings: * For the `_insertEmbeddedView` method: wrap all distinct prop arguments it received in one unique `props` argument. * The display name of embedded views will now be modified through the standard `setDisplayName` instead of a DOM manipulation. task-3381729
The Documents menu is reorganized so upload, request, link, spreadsheet, and workspace creation actions sit under a clearer New dropdown, while Share is easier to access as its own button. This makes common document actions easier to find and gives document managers a direct way to create workspaces from the current location.
Original PR description
Improve the burger menu ui: - reducing the labels size. - regrouping all the actions related to a document addition (upload, request, link, spreadsheet) under a "New" button dropdown. - Get the "share" button out of the dropdown, styled secondary. - Add the possibility to create a workspace from the "New" dropdown. Only available for the users with the group "group_documents_manager". Technical: As the "groups" attribute doesn't work in the ControlPanel xml, retrieving the user groups from the js. Removing the test named "when no sharable workspace is present, check the visibility of dropdown button inside 'All' workspace" as the dropdown button is now renamed "New" and is always enabled. Task-3889854
Resolved issues and error corrections
Spreadsheet autocomplete now includes the needed date granularity when suggesting pivot fields, preventing formula errors for date-grouped data. The spreadsheet edition was also aligned with the latest underlying spreadsheet library changes, improving compatibility and reliability.
Original PR description
### [FIX] spreadsheet_edition: auto-complete with date granularity
Steps to reproduce:
- Go to CRM lead pivot view
- group by any date field by day
- insert in spreadsheet
- start typing '=odoo.pivot(1, <measure>, '
=> Currently, when the auto-complete proposes a date field (e.g. "create_date"),
the field is proposed without the granularity ("create_date", not
"create_date:month").
The formula result is an error if the granularity is missing.
Task: 3823433
X-original-commit: https://github.com/odoo/enterprise/commit/a52b11884adaefa45e2f854bf775a43afb462d2b
### [FIX] spreadsheet_edition: Update o_spreasheet to latest version
Update spreadsheet_edition code following library update.
Counterpart of https://github.com/odoo/odoo/pull/166687The GSTR-1 report now includes POS order reversal entries when a customer later requests an invoice for a POS sale. This prevents sales and HSN values from being counted twice, improving the accuracy of Indian GST reporting.
Original PR description
Fixes an issue where the GSTR-1 Report was double counting sales and HSN due to missing POS order reversal entries. Scenario: - A sale is made via POS without an invoice. - Later, an invoice is requested and generated, creating two entries: 1. Invoice sales entry. 2. Reversal of the POS order. This update ensures that these reversal entries are included in the GSTR-1 report, preventing double counting. Task Id: 3927208