Tuesday, April 23, 2024
16 changes · master
Enhancements to existing features
This change improves how planned hours are calculated for sale-related timesheet planning by removing a limiting filter. This helps businesses get a more complete view of expected work effort, supporting better planning and forecasting.
Original PR description
temp task-3857649
This update tightens internal checks for how field options are registered, helping prevent invalid configuration values from entering the system. It mainly improves reliability for developers and maintainers, with related adjustments in accounting assets, Sign, and Studio tests to align with the stricter validation.
Original PR description
Linked to the community PR that adds validation for registry
The French payroll and payroll accounting modules now show a warning that they will no longer be supported. This helps businesses understand the future support status before relying on these modules.
Original PR description
This commit adds a warning message to the description of the modules l10n_fr_hr_payroll and l10n_fr_hr_payroll_account to inform the user that these modules we won't support these modules anymore. task-3699189
Users can now upload spreadsheet JSON files downloaded from Odoo and have them recognized as spreadsheet documents in the Documents app. This helps teams move spreadsheets from test or staging databases to production more easily, though replacing an existing document with such a file is still not supported.
Original PR description
In debug mode, you can download the spreadsheet json file from the spreadsheet itself with the menu File > Download as JSON In the Documents app however, try uploading the json file: => it's not recognized as a spreadsheet document. Advanced users such as our own business analysts or ourselves often download the spreadsheet files and re-upload it. One use case is to build a spreadsheet on a test/staging database, then upload the spreadsheet to the production server. Current limitation (to keep it simple): uploading such a file on an existing document doesn't work. Task: 3596641
Room users can now end an active booking directly from the room front-end display, making the room available again without deleting the booking record. Button labels, icons, colors, and remaining-time alignment were also refined to make booking actions clearer and easier to understand.
Original PR description
Purpose: -------- Add a button in the front end view that allows users to end the current booking (to make the room appear as free), as the only way to do it for now is to delete the booking, which is not suitable if one would like to track the bookings in the backend view. This commit also rewords the "schedule booking" button to "Add a booking" and changes the "booked room" icon to not use the same as in the new button. Task-3792497
This update adds automated checks for creating worksheets directly from Field Service project forms and for sending reports in batches. It helps reduce the risk of regressions in Field Service reporting workflows without changing end-user functionality.
Original PR description
Added test cases regrading on the fly creation of worksheet from Field Service Project Form and sending reports in batches. task-3861764
Resolved issues and error corrections
Corrects subscription-related list settings so new entries are added in the expected place when lists span multiple pages. This reduces confusion and prevents records from appearing on the wrong page during editing.
Original PR description
The "editable" attribute in list views can be set to either "top" or "bottom". List views are rng validated, and no other value can be used. However, x2many list inside form views aren't validated, and a few of them have editable="1". This seems to work, but only partially: the list is editable indeed, but if the list is multi page, there'll be issues when adding records (they'll be added in the last page, not the current one). This commit thus fixes the few views with incorrect editable attribute. opw~3860903
Miscellaneous changes
The chatter in documents was not flex, which made it take a lot of space without any wrapping. As a result, usually chatter took all the screen and content was massively overflowing, resulting in poor UX. This was caused by a specific stylerule in documents with chatter that made sense in a earlier version of chatter CSS, but this is no longer needed. Also we actually want to reuse most style of chatter in form view. This commit adds `o-mail-ChatterContainer` classname on same HTML node
Original PR description
The chatter in documents was not flex, which made it take a lot of space without any wrapping. As a result, usually chatter took all the screen and content was massively overflowing, resulting in poor UX. This was caused by a specific stylerule in documents with chatter that made sense in a earlier version of chatter CSS, but this is no longer needed. Also we actually want to reuse most style of chatter in form view. This commit adds `o-mail-ChatterContainer` classname on same HTML node as `o-mail-Form-Chatter` and adapts style, so that Document can set this classname to reuse style. opw-3681435 https://github.com/odoo/odoo/pull/161940 Before  After  Forward-Port-Of: odoo/enterprise#61259 Forward-Port-Of: odoo/enterprise#60772
With FR localization installed and FR company setup Create an invoice to an EU partner Check the intrastat report Issue: "Codes" filter is visible but it is only supported in some localizations. Currently: - Selecting 'Goods' will toggle on/off all lines as all taxes are grouped under that section - 'Triangular' and 'Services' are no use This occurs because we always show the 'Codes' filter while we should display it only when relevant opw-3777753 Forward-Port-Of: odoo/enterp
Original PR description
With FR localization installed and FR company setup Create an invoice to an EU partner Check the intrastat report Issue: "Codes" filter is visible but it is only supported in some localizations. Currently: - Selecting 'Goods' will toggle on/off all lines as all taxes are grouped under that section - 'Triangular' and 'Services' are no use This occurs because we always show the 'Codes' filter while we should display it only when relevant opw-3777753 Forward-Port-Of: odoo/enterprise#60749 Forward-Port-Of: odoo/enterprise#60416
In this [commit](https://github.com/odoo/enterprise/pull/60205/commits/c903c38952fdbc12af611b0f95c037b411291363), we introduced a small typo when processing the partner's address, resulting in a traceback. opw-3883752 Forward-Port-Of: odoo/enterprise#61215
Original PR description
In this [commit](https://github.com/odoo/enterprise/pull/60205/commits/c903c38952fdbc12af611b0f95c037b411291363), we introduced a small typo when processing the partner's address, resulting in a traceback. opw-3883752 Forward-Port-Of: odoo/enterprise#61215
The quantity_decreasable_sum of a service product no longer takes into account the delivered quantities This is done so we can decrease service product quantity in the product catalog even tho those product are considered delivered by default https://github.com/odoo/odoo/pull/155157 Task-3689939 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#60672 Forward-Port-Of: odoo/enterprise#55455
Original PR description
The quantity_decreasable_sum of a service product no longer takes into account the delivered quantities This is done so we can decrease service product quantity in the product catalog even tho those product are considered delivered by default https://github.com/odoo/odoo/pull/155157 Task-3689939 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#60672 Forward-Port-Of: odoo/enterprise#55455
As resources are bound to companies, we need to filter out the events we display so that only events with resources from valid companies are displayed in gantt. task-3565337 Forward-Port-Of: odoo/enterprise#61198 Forward-Port-Of: odoo/enterprise#52771
Original PR description
As resources are bound to companies, we need to filter out the events we display so that only events with resources from valid companies are displayed in gantt. task-3565337 Forward-Port-Of: odoo/enterprise#61198 Forward-Port-Of: odoo/enterprise#52771
Purpose ======= Currently, if someone sends a sticker in a Facebook comment, a blank bubble is displayed in the feed view. Instead we want to display the sticker. Task-3595484 Forward-Port-Of: odoo/enterprise#61169 Forward-Port-Of: odoo/enterprise#54188
Original PR description
Purpose ======= Currently, if someone sends a sticker in a Facebook comment, a blank bubble is displayed in the feed view. Instead we want to display the sticker. Task-3595484 Forward-Port-Of: odoo/enterprise#61169 Forward-Port-Of: odoo/enterprise#54188
Steps to reproduce 1. Select a PDF 2. From the Inspector click on the split button 3. Press Control+k (opens command palette) 4. Type s or press the space/backspace key 5. It closes the dialog Issue: Special hotkeys like "Backspace," "Space", and "S". Instead of being counted as regular characters during searches, they're being used for other functions, which is the default behavior of the useCommand. Fix: To fix this, we need to give these hotkeys more meaningful names than no dia
Original PR description
Steps to reproduce 1. Select a PDF 2. From the Inspector click on the split button 3. Press Control+k (opens command palette) 4. Type s or press the space/backspace key 5. It closes the dialog Issue: Special hotkeys like "Backspace," "Space", and "S". Instead of being counted as regular characters during searches, they're being used for other functions, which is the default behavior of the useCommand. Fix: To fix this, we need to give these hotkeys more meaningful names than no dialog will close while searching. Task:3725189 Forward-Port-Of: odoo/enterprise#60143
How to reproduce: - Go to documents - Click on a workspace with documents - Click on a document to preview it - Click on another workspace/select a tags/select a tag group, change the filter/domain The preview is still displayed but shouldn't as we can't see the content of the newly selected/filtered. This fix ensures that the preview is closed in such circumstances. Technical note: the event was already trigerred but on the wrong bus. This fix triggers it on the right one. Solving th
Original PR description
How to reproduce: - Go to documents - Click on a workspace with documents - Click on a document to preview it - Click on another workspace/select a tags/select a tag group, change the filter/domain The preview is still displayed but shouldn't as we can't see the content of the newly selected/filtered. This fix ensures that the preview is closed in such circumstances. Technical note: the event was already trigerred but on the wrong bus. This fix triggers it on the right one. Solving this problem introduces a new bug because when the new filter excludes the document selected, the first selection is unselect while there are no selection anymore. in that case, we just skip that operation. Task-3624235 Forward-Port-Of: odoo/enterprise#60959 Forward-Port-Of: odoo/enterprise#57237
Fixes divide by zero introduced by https://github.com/odoo/enterprise/commit/3d6576d opw-3761952 Forward-Port-Of: odoo/enterprise#61207
Original PR description
Fixes divide by zero introduced by https://github.com/odoo/enterprise/commit/3d6576d opw-3761952 Forward-Port-Of: odoo/enterprise#61207