Daily updates from Odoo
Wednesday, April 3, 2024
12 changes
1 change
Enhancements to existing features
This pull request groups several user-facing improvements and fixes across accounting setup, HR time off, live chat, mail activities, website forms, and restaurant operations. It improves onboarding and day-to-day workflows while fixing issues that could affect previews, employee images, time off calculations, website form behavior, and message recipient suggestions.
Original PR description
woops, wrong branch
4 changes
Enhancements to existing features
Signature request activities are now connected to the business record they came from, making it easier to track and navigate related documents. When a request is sent or completed, the relevant updates and signed files are automatically logged on the original record for clearer follow-up.
Original PR description
This commit has the goal to increase the usefulness of the "request signature" activity type. This is done by integrating the model that has the activity with the signature.request record. Now, when a sign activity is added to a record, it is linked to any sign request that is generated from that activity. Whenever the sign.request is completed, the generated files are added in the chatter. This makes it easier to navigate between the linked records. task-3685648
Internal users who open a shared spreadsheet link are now taken directly to the spreadsheet within the Documents app. This keeps the usual Documents breadcrumb and navigation context, making shared spreadsheet links easier to understand and use.
Original PR description
Currently when sharing a spreadsheet by using the share option or copying the URL, as an internal user, you don't land in the Documents app. With this commit, the user lands on the open spreadsheet, with the Documents app in the breadcrumb, as if he was coming from Documents. Task: 3525858
Users with the proper access rights can now delete timer or timesheet records belonging to another user. This removes an unnecessary restriction that prevented administrators or authorized staff from managing records they are permitted to control.
Original PR description
_*: timer, test_timer Before these commit when any user record rule only allows deletion of the record if you are the user on that record. Admin can't delete the timesheet record of the user. Improvements: ----- if a user possesses the authority or permission to delete another user's timer, then they can perform the deletion. task-3160340
Spreadsheet users can now choose to include child records when applying relation-based filters. This makes spreadsheet reports more complete and easier to analyze when data is organized in parent-child structures.
Original PR description
Task: 3500731
7 changes
Enhancements to existing features
This update improves how subscription payment links are processed by ensuring payment tokens are only created when the payment amount meets or exceeds the subscription's recurring amount. This prevents invalid payment processing and ensures customers are charged the correct amount for their subscriptions.
Original PR description
opw-3736162 **UPDATE**: this PR caused regressions, follow-up here: https://github.com/odoo/enterprise/pull/61025
This update enhances the online checkout process by converting the order summary into a collapsible dropdown (similar to the mobile experience), removing unnecessary labels, and making the payment button always visible by keeping the order summary sticky. These changes create a cleaner, more intuitive checkout flow that reduces clutter and improves accessibility to the payment action.
Original PR description
- replace order summary by a dropdown like mobile view - remove 'Pay With' title - match 'Choose delivery method' style with 'Choose payment method' - make order summary sticky so that 'Pay now' is always accessible task-3741412 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The color picker tool now works more smoothly when entering hex color codes. Users can type color values without the "#" symbol and it will be added automatically, and the color preview updates instantly as they type. Additionally, the color picker no longer closes unexpectedly when clicking in the input area, making it easier to enter and confirm color selections.
Original PR description
**[IMP] web_editor: prevent the colorpicker from closing on inner click** Before this commit, clicking in the area below the "Hex color" input would close the color picker. This was annoying when entering a value in the "Hex color" input and then clicking below to confirm it. After this commit, the color picker no longer closes when clicking on its background. task-3747408 ----------------------- **[IMP] web: update the colorpicker on hex color input's input event** This commit improves the UX of the color picker's hex input in two ways: If the user enters a hex color without the "#" symbol, it's automatically added. As soon as a valid hexadecimal color is entered in the input, the colorpicker updates, and the color is applied to the target element. task-3747408
This update improves how Odoo handles journal imports from French FEC files by adding a context option to skip automatic mail alias creation. This prevents errors that occur when multiple journals with the same name but different codes are imported, as each would attempt to create a mail alias with the same name. The change ensures smoother data imports without duplicate alias conflicts.
Original PR description
This is done together with an enterprise commit in order to avoid creating mail alias automatically on journals imported via FEC files, in France. Indeed, such files could contain journals with different codes but same name, each of which would try creating an alias with the same name, raising an error. OPW 3813584 Forward-Port-Of: odoo/odoo#160037 Forward-Port-Of: odoo/odoo#159455
This update improves the automated testing system by providing more detailed information when errors are detected during tests. Instead of just reporting that an error occurred, the system now logs the actual error message and related technical details, making it easier for developers to diagnose and fix issues.
Original PR description
Before this commit, when the clickbot detected an error dialog, it stopped the test and throw an error saying that an error dialog was detected. This information is not enough to check why, and how, the error dialog was produced. Now, we also log the content of the error dialog as well as all the information of the last rpc that was in error. closes odoo/odoo#160103 X-original-commit: 4f26b324a30c5120ea60b6b42fef6cd6000d2859
This update adds the ability to set a maximum number of files that can be uploaded in many-to-many binary fields. This improvement addresses cases where users may have incorrectly used a many-to-many relationship when a simpler structure would be more appropriate, providing better control over file uploads in the WhatsApp integration and other features.
Original PR description
[IMP] web: allow to give a maximum of file to upload in m2m binary People may have used a m2m where we don't really want a m2m relationship. Task-3605612 (WhatsApp: Fix header / upload / reporting usage) Forward-Port-Of: odoo/odoo#159973 Forward-Port-Of: odoo/odoo#157576
This update aligns how portal controllers handle parameters with the backend system controllers. Specifically, the portal_chatter_post and attachment_add functions are being updated to match backend behavior. This is a preparatory change to eventually replace the portal chat feature with the backend chat feature, reducing code duplication and maintenance effort.
Original PR description
This change is a preparation to sync parameters in portal controllers with the backend ones (`portal_chatter_post`, `attachment_add`) in order to reduce the diff in replacing portal chatter with backend chatter. Related to task-2828744