summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorTiffany Chang (tic) <tic@odoo.com>2020-05-29 14:30:44 +0000
committersvs-odoo <svs@odoo.com>2020-08-20 15:06:08 +0000
commit71e7f56719622c7fc3b2f6b750121971875e2750 (patch)
tree5885f453b82263bf82628293d7a1baf8f8498ec7 /doc/reference/javascript_reference.rst
parent1bd2594b8390baddcc65cac310a75322f436b15f (diff)
[IMP] stock_picking_batch: add "Scheduled Date" field
This commit adds a "Scheduled Date" field to the batch pickings. Logic behind this date is a bit tricky: 1. If "Scheduled Date" is edited directly in batch then this date will also be applied to all of its picking's "Schedule Date"s. 2. If "Scheduled Date" is not edited directly in the batch, then this date will be the earliest date of its assigned pickings and pickings will maintain their original scheduled date' including if picking scheduled date is changed. 3. If "Scheduled Date" is not edited directly and all pickings are removed or there are none then date will default to no date. First cut of test for scheduled_date logic has also been added. Update will be needed for testing onchange logic since it is currently not supported by the tests.Form due to M2M widget used with O2M picking_ids (M2M widget is used for when doing a "Add a Line" transfer to a batch in backend). Additionally this commit adds the 'scheduled_date' and 'operation_type' to the kanban view. Part of "1. Improve Batch Pickings" specification of overall barcode app improvements task. Task: 1884520 Enterprise PR: odoo/enterprise#12086 Upgrade PR: odoo/upgrade#1569 Closes: odoo/odoo#55096
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions