diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-03-27 17:03:10 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-03-27 17:36:25 +0200 |
| commit | 7a039c730dd3a654b74ca51d5bb322bca5395b64 (patch) | |
| tree | 31ca30d76294452f1cd6d72217fd9e78b563d69a /addons/web_editor/static/src/js | |
| parent | 3d0db90dae1ebb5fa6efbab27a0c2563b8371c4e (diff) | |
[FIX] stock: multiple global push rules with same origin
When you have multiplle global push rules with the same source location,
a traceback is raised because the '_apply' method of
"stock.location.path" is called with more than one record, and doesn't
handle multiple record.
To fix this, we limit the number of records returned when a global rule
is searched to 1 (as for other 'search' of push rules in this file).
This bug has been introduced during migration in rev: https://github.com/odoo/odoo/commit/cb486d7eb6353a66eea2cb3610141b4f3a778791
opw-725874
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
