diff options
| author | Arnold Moyaux <arm@odoo.com> | 2019-07-31 12:35:26 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-08-19 15:03:59 +0000 |
| commit | 319ae318601dcfb59bf02b2bd8d29f78f0ff46ba (patch) | |
| tree | 8f097548c9272f34dc02a66f0d07506fabbb85cf /addons/mrp_subcontracting | |
| parent | 37200abfc5684935f932bf42923add145f5dfd1e (diff) | |
[FIX] stock: same origin documents
Create two moves with a product MTO and the same SO.
Confirm them. It will generate a new picking without origin.
However the purpose of removing origin on picking is to avoid
an endless enumaration of all documents but if they only have
one origin it should be display.
In this case, the origin was ignored because moves.mapped('origins')
result in a list of ['doc_origin','doc_origin'] and have a length
of 2 because .mapped do not return a distinct set on fields different
than Many2one, one2Many and M2M.
Diffstat (limited to 'addons/mrp_subcontracting')
0 files changed, 0 insertions, 0 deletions
