Friday, May 3, 2024
2 changes · 17.0
Enhancements to existing features
Website social media links now fall back to official Odoo social media pages when no custom link is set. This prevents visitors and SEO tools from hitting broken 404 pages from footer or header social links.
Original PR description
There is a mechanism in place that will use the Odoo social media URLs as default social media URL for the websites.
It's done this way:
- `base.main_company` company has its social fields populated in XML in `social_media` module
- website depend of social_media
- website social fields have default value set to `self.env.ref('base.main_company').social_xxx` in its fields:
```py
social_twitter = fields.Char('Twitter Account', default=_default_social_twitter)
```
But if one does empty those fields on the company, it won't bootstrap those values on website creation.
Maybe some other flows are possible to lead to those empty fields.
Seems like a low effort to be 100% sure we don't have empty fields by default.A helpful tooltip has been added to the Prorata Date field in the Asset Management module to guide users on how to use this feature. This enhancement improves the user experience by providing clearer instructions directly within the application, reducing confusion and support requests.
Original PR description
[ADD] account_asset: Add tooltip to Prorata Date Add tooltip to Prorata Date field in account_asset module and add its translation Reason: Enhance user-experience Task-3864117