Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] sale: translate product description
Issue: In a multi-language environment, the product description in sales orders defaults to English, regardless of the user's language preference. This issue occurs when the language of the partner is not set, leading to a mismatch between the user's expected language and the displayed language for product descriptions. Steps to Reproduce: 1. Ensure the database supports multiple languages. 2. Set the user's preferred language to a non-English language. 3. Create a new sale order for a partner whose language is not set. 4. Add a product and observe that its description is displayed in English instead of the user's preferred language. Solution: Modified the logic to default the product description to the user's language preference when the partner's language is not specified. opw-3586451 closes odoo#142227 X-original-commit: 29ace25 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Kawtar Drissi El Bouzaidi (kdeb) <kdeb@odoo.com>
- Loading branch information