odoo/tutorials#411
Created by Vedant Pandey (vpan)
Closed
- label
- odoo-dev:18.0-practice-task-webshop-vpan
- head
- 9fb28de421704d525bd51b4970db2a8bd492f917
| odoo/tutorials | |
|---|---|
| 18.0 | #411 |
[ADD] webshop_extension: added new multilingual html extended description field
Steps to reproduce
- For Internal Users
- Install webshop_extension module (depends on website_sale)
- Open Website > eCommerce > Products
- From Kanban View select any one product it will open the form view of that product
- In the form view, visit the Sales page under there is one group Extended Description
- In that field you can add description as long as you want
- To enable multi language support User > Preferences > Languages > click on globe icon then add languages you want
- After adding languages, you are able to see EN on clicking it, it will open a pop-up to add description in particular language
For Portal User it will conditionally render, if the particular product has extended description it will display else it will not display
### Purpose of Changes
- Our webshop contains many products, including technical ones that require extensive descriptions.
- The existing description fields (description_sale and description_ecommerce) are not suitable for long descriptions.
Changes
- To address this, we are introducing a new extended_description field that:
- Displays on the product page (for portal users) without affecting the layout.
- It is editable from the backend (internal users view) for better content management.
- Supports multiple languages (Danish and Swedish)
- This field is also included in import/export functionality