summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-09-05 15:00:10 +0200
committerOlivier Dony <odo@openerp.com>2016-09-05 18:02:43 +0200
commitad50d13b6a2fca724f3c5024b4d2acdbf8732709 (patch)
tree894ad3dff9f566c015700e3e7fecd5fb6dd802c0 /addons/mail/static/src
parentb54ffcc0e74e78c0a2b851065d6aae847e0e9d31 (diff)
[FIX] stock: select picking type deterministically
The default order on `sequence` was not specific enough, causing semi-random selection of picking type and warehouse when several types exist with the same sequence. The problem was made more likely by the fact that warehouses create their own picking types. The algorithm to determine the sequences for the new types was not handling properly the case of a NULL sequence. The patch fixes both issues: the selection of the default picking type (e.g. for purchase orders), and the algorithm for choosing the sequence for new picking types.
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions