diff options
| author | Josse Colpaert <jco@odoo.com> | 2016-11-03 16:19:33 +0100 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2016-11-04 10:22:46 +0100 |
| commit | 3cb337945628ffc243072c93a47f6fc55d0f03fd (patch) | |
| tree | f01aea819062b33fea9623e0f9ba226aa66aaaeb /addons/web/static/src/js/control_panel.js | |
| parent | a0e0e14b70bb60d12f03faa8b80ae16ac1157bb5 (diff) | |
[FIX] point_of_sale -> stock: handling of lots/serial numbers
Before, the quantities on the pack operations were set also for the
pack operations that should have lots and had not, which is an inconsistency.
As at the end of the PoS, errors are not shown and not rollbacked, this
created really nasty situations. With this code, it was never meant to
use lots in the PoS, but as the picking was not validated (but existed, because
not rollbacked) some people thought it as a wanted feature.
In the mean time, we had commit fafc048d028, but it will give
problems as it will not automatically create a backorder. It is
better not to do anything when lots are involved somewhere in the picking
as then the user will see the open pickings in the PoS Orders picking type.
It is also important to not do anything when it is a move without a picking.
Needs to be forward ported to saas-11, where the file structure changed.
opw: 692045
Diffstat (limited to 'addons/web/static/src/js/control_panel.js')
0 files changed, 0 insertions, 0 deletions
