Daily updates from Odoo
Wednesday, September 25, 2024
12 changes
8 changes
Resolved issues and error corrections
This fix prevents an error when calculating allocated hours for open planning shifts that do not yet have a resource assigned. It improves stability for scheduling workflows by checking that a resource exists before using its flexibility settings.
Original PR description
Before this commit, the compute of the allocated hours could be raised a traceback if the shift is an open one because we check if the resource is flexible before checking if there is a resource set on the shift. This commit makes sure a resource exists on the shift before checking if the resource is flexible or not. task-4206945
Users editing Kanban views in Studio can now successfully turn bold formatting on or off for fields. This fixes a formatting issue so cards display as configured, improving consistency for teams customizing their workflows.
The demo setup for restaurant table bookings now shows the appointment name as “Table” instead of “Table Booking.” This avoids confusing or redundant wording on the customer-facing booking page.
Original PR description
**How to reproduce:** 1) Create a Table Booking appointment from the Action helper. 2) Go to the booking page for that appointment it looks like this - https://tinyurl.com/29q2ktjb **After this PR** Now that appointment name will be Table instead of Table Booking. Task-4210749
Payment method names in expense extraction views are adjusted so the journal name only appears where it is useful, such as grouped reporting views. This avoids clutter or confusing labels in other screens while preserving the added context where users need it.
Original PR description
In this pr: https://github.com/odoo/odoo/pull/174537 we have change the display name of the payment method line by adding the name of the journal. But it has changed every view where the payment method line are available. Since we want to have the journal on the groupby of some view, we added a context key to be added when we want to hide the journal. no task id community: https://github.com/odoo/odoo/pull/181340
Residual amounts in foreign currency are now shown only when multi-currency support is enabled. This avoids unnecessary or confusing currency fields for businesses that operate in a single currency.
Original PR description
Ensures that the different residual in currency fields are only visible when base.group_multi_currency is enabled.
Users can now customize the final part of an appointment sharing link instead of being blocked by a read-only field. This makes shared links easier to personalize and manage when sending appointment invitations.
Original PR description
How to reproduce: 1. Create a share link. 2. Try to change the last part. 3. It's read-only. Technical Reason: The last part of the link 'short_code' is set to 'readonly'. After this commit: The link can be edited. Task-4194229
The Partner Ledger filter now shows individual partners without a parent company, not just company records. This helps users find and report on all relevant partners more accurately from the dropdown.
Original PR description
Steps to reproduce: - Go to Partner Ledger report - Open partner filtering dropdown list Current behaviour: - Show company partners only Expected behaviour: - Should show indiviual partners without parent as well X-original-commit: de5b10f
This fixes the label used for the financial budget action after it was previously changed incorrectly. Users will see the proper budget action name, reducing confusion when navigating budget reports.
Original PR description
The aim of this commit is renaming the financial budget action name properly. In this commit [[1]], we wrongly change the action name for analytic budget, it was wrong. no task id [1]: https://github.com/odoo/enterprise/commit/6ccc3030a57bc1218ad327280804c2e95dee0a59
2 changes
Resolved issues and error corrections
Creating a discussion thread from a message now displays the message text cleanly instead of showing raw HTML tags such as <p>. This improves readability for users, especially when network conditions are slow and message loading timing varies.
Original PR description
Before this commit, creating a thread from a message was sometimes showing the html tags of the message in text content.
Steps to reproduce:
- Open general channel
- Post a message
- Set "slow 4g" network performance
- Create a thread from the message => It opens the sub channel with the message, but the
message and thread name title shows HTML tags like `<p>`
This happens due to missing of `store.insert({ html: true })`, which this commit fixes.
Task-4207900
Before

After
Creating a discussion thread from a message now displays the message text and thread title cleanly instead of showing raw HTML tags like <p>. This improves readability in Mail discussions, especially when the interface loads slowly on poor network connections.
Original PR description
Before this commit, creating a thread from a message was sometimes showing the html tags of the message in text content.
Steps to reproduce:
- Open general channel
- Post a message
- Set "slow 4g" network performance
- Create a thread from the message => It opens the sub channel with the message, but the
message and thread name title shows HTML tags like `<p>`
This happens due to missing of `store.insert({ html: true })`, which this commit fixes.
Task-4207900
Before

After
2 changes
Resolved issues and error corrections
This update fixes a display issue on mobile devices where two important alerts were overlapping each other on the map view. Now, the setup token alert will only appear after the address locating process is complete, providing a cleaner and more user-friendly experience on mobile devices.
Original PR description
before this commit: On mobile devices, the `Locating new addresses` and `Set up token` Bootstrap alerts are overlapping. after this commit: On mobile devices, the `Set up token` alert only becomes visible after the `Locating new addresses` process has been completed. Task-3928322 Forward-Port-Of: odoo/enterprise#70526 Forward-Port-Of: odoo/enterprise#69822
This fix adds the missing UNSPSC (United Nations Standard Products and Services Code) classifications for "Square meter" and "Square foot" units of measure. These codes are now properly assigned in the Surface category, ensuring accurate product classification for purchasing and compliance purposes.
Original PR description
Problem: The UNSPSC codes for "Square meter" and "Square foot" were not created for the corresponding units of measure. Steps to reproduce: - Navigate to Purchase > Configuration > UoM Categories > Surface. - There is no UNSPSC category assigned by default for these units of measure. opw-4103838 Forward-Port-Of: odoo/enterprise#70102