Tuesday, February 18, 2025
4 changes · saas-18.1
Resolved issues and error corrections
This fixes an issue where website visitors could incorrectly see an offline banner in live chat. It improves the chat experience by showing the banner only when appropriate and simplifies the related interface logic to reduce flicker.
Original PR description
Before this PR, the visitor offline banner could be shown to the visitor. The condition used to determine whether the banner should be shown is incorrect (it compares channel member to persona). At the same time, this PR cleans the thread component patch: the component relies on the `useEffect` hook to update a state based on the persona im status. The only purpose of this method is to delay the update in the UI to avoid flicker during quick disconnects. However, a debounce is already in place in the persona model. Other places in the UI might be impacted by the same flickers, so we better increase de debounce delay directly in the model setter. It also remove the need for complex code in the component. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The collapsed call sidebar now displays participant status icons correctly aligned with avatars. This small visual fix makes the call participant list clearer and more polished for users.
Original PR description
Before this commit the short status icon shown in the collapsed sidebar call participants was misaligned to the avatar. This was due to the margin being applied only on the avatar. This commit fixes the issue by: - Applying the margin to the element containing both the avatar and the short status icon. - Removing margin on the icon. | Before | After | |--------|--------| |  |  |
Installing the appointment payment module no longer fails if the default Services product category was previously deleted. This helps businesses avoid setup interruptions when enabling appointment payments in customized invoicing environments.
Original PR description
Currently a `ParseError` arises when the user installs the `appointment_account_payment` module after deleting the `Service` category in `Invoicing`. Steps to reproduce: --- - Install `Invoicing`…
Currently a `ParseError` arises when the user installs the `appointment_account_payment` module after deleting the `Service` category in `Invoicing`.
Steps to reproduce:
---
- Install `Invoicing` application (without demo data)
- Invoicing > Configuration > Categories > Delete `Services`
- Now install `appointment_account_payment` module
Traceback:
---
```
ValueError: External ID not found in the system: product.product_category_services
ParseError: while parsing /home/odoo/src/enterprise/saas-18.1/appointment_account_payment/data/product_data.xml:3, somewhere inside <record id="default_booking_product" model="product.product">
<field name="name">Booking Fees</field>
<field name="standard_price">0.00</field>
<field name="uom_id" ref="uom.product_uom_unit"/>
<field name="list_price">50.00</field>
<field name="type">service</field>
<field name="purchase_ok" eval="False"/>
<field name="categ_id" ref="product.product_category_services"/>
<field name="image_1920" type="base64" file="appointment_account_payment/static/src/img/booking_product.png"/>
</record>
```
The error occurs because the user deleted the category and then installed the `appointment_account_payment` module, which references the missing product category.
This commit resolves the error by providing a False value for the field if the product category is missing.
sentry-6298992760The lock date wizard now shows the hard lock date warning across the full width of the form instead of squeezing it into a narrow label area. This improves readability and helps users notice important accounting lock date information.
Original PR description
The items inside the wizard view are ordered as a 2 column grid of labels and contents. But recently, it is found that the hard lock date alert item is only displayed in the short label section of the grid. This commit spans the hard lock date `div`'s `colspan` to 2 to make sure it spans on the whole line. for more info:  task-4586675