diff options
| author | Arnaud Baes <arb@odoo.com> | 2019-08-14 16:23:40 +0000 |
|---|---|---|
| committer | Arnaud Baes <arb@odoo.com> | 2019-08-21 09:51:17 +0000 |
| commit | 2408befc8d9a842ddcdcce016ee6b60318de5236 (patch) | |
| tree | dff2289c00d045a4c32e3affce3d875ff902e1ee /addons/stock/data/mail_template_data.xml | |
| parent | c1281f57953b47b9f42f1a678fff789ce0019f36 (diff) | |
[FIX] sale_stock: wrong route computed on so lines
_compute_is_mto was based on the sequence of the routes,
as most of those sequences were hardcoded, some had the same values,
resulting in wrong calculations. Furthermore, the method was setting the so lines
as mto if the sequence of the MTO route had the priority on the other ones, even if
the mto route wasn't set on the product.
This simply ensure to check the mto route is set on the product,
sequences should be set manually to prevent any sequence conflict.
TaskID: 2053703
closes odoo/odoo#35740
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/stock/data/mail_template_data.xml')
0 files changed, 0 insertions, 0 deletions
