diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-12-08 10:14:29 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-12-09 12:38:22 +0000 |
| commit | 61436e861eabada1608529f3f0da09681d09b3e8 (patch) | |
| tree | 0410ad2c55282602d39ab48e37889d1632f749a2 /addons/pos_cache/controllers/__init__.py | |
| parent | 6a3d8982a657fc4e124f6bebe457289297efdabe (diff) | |
[FIX] sale_quotation_builder: change website_description when the template id changes
Fine-tuning of 0106fcd59c8c97b1a1e39a263f305650978c0606
Have a SO with a partner in another language
Apply a quote template to a SO
Customize the portal view to show website_description of a product on the template
Translate it
Show the SO on the portal
Before this commit, the description of the product was not translated
This was because the field was not included in the onchange of template_id
causing that field to never have changed, that is, it kept the description
done injected with the first write
After this commit, the description is changed according to the partner's lang
opw-2366738
closes odoo/odoo#63090
X-original-commit: b2b6fbef3a48249fef541e71c7f5b4745ef23d02
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/pos_cache/controllers/__init__.py')
0 files changed, 0 insertions, 0 deletions
