diff options
| author | Nicolas Galler <ngl@odoo.com> | 2020-10-30 11:19:52 +0000 |
|---|---|---|
| committer | Nicolas Galler <ngl@odoo.com> | 2020-10-30 13:54:52 +0000 |
| commit | d013f8641ae2ed8c12d30ba5650c8e6ff2f1d5fd (patch) | |
| tree | 668fe15a08e059444a7372c3ff243dd6e13542fa /addons/website_forum/static/src | |
| parent | 112cf9088190606b85f60b420d50fbd1100e1f38 (diff) | |
[FIX] stock: consistently use translated value for product description
Behavior prior to this commit:
In a multi-lingual setup, when entering a SO for a customer set in
a non-default language with a product that has translation in both
languages and is set up to replenish on order, the description in the
generated RFQ is duplicated, for example: "Product test Test Product in Dutch"
The problem stems from the fact that the description on the generated
stock move is set to the translated name of the product. When
generating the PO, the stock move class removes the product name to
avoid duplicating the description, but it uses the non-translated name
in the comparison.
Behavior after this commit:
The description on the RFQ line is included only once (using the default
language for the database)
opw-2368562
closes odoo/odoo#61040
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website_forum/static/src')
0 files changed, 0 insertions, 0 deletions
