summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorRémy Voet (ryv) <ryv@odoo.com>2020-08-06 06:03:01 +0000
committerRémy Voet (ryv) <ryv@odoo.com>2020-08-18 07:48:27 +0000
commit8d62eacfff5f94f692661c221c7b43f39bd3b891 (patch)
treede330591caabad93d9abc7a48e28d505da1ad83b /addons/web/static/src/css
parent57f805f71e9357870dfc2498c5ef72ebd8ab7273 (diff)
[FIX] *stock*, mrp: fix effective_date
- Avoid to truncate the hour/min/sec in the computation of the effective date which is related to the `date_done` of the first incoming picking. - With manufacturing in 3-step (pbm_sam), the store picking had a source document == "New". It was the case because the `_get_move_finished_values` was call before the create and the name is set only on create. To fix this issue, during the `create` set the origin of all move. - To avoid to maintain old views unused, remove unused view of stock move. - The computation of the products_availability json is too expensive to be in tree view (2.5 times long with it) of picking. It will be hard to optimize because the half the time is due to _get_report_lines method - already in batch (on 80 records). - Review buttons of the replenishment list to be more Odooer. - In some cases the delay alert date was wrongly compute: - If we new dest_move_ids of a existant move, the delay alert date won't be compute. - If the state (to done) and the date are save in same write call the alert date of next move won't be reset. To avoids these issues, refactor the alert date to be a compute stored fields. - To avoid any confusion between date expected in the replenishement (in date) and the purchase order receipt date (datetime), we put the receipt date at the middle of the day. Also On-Time Delivery Rate computation counts only when date are bigger effective date trunced to date. Also used the timezone of the company by default (if not user timezone) task-2246665 closes odoo/odoo#55379 Related: odoo/upgrade#1586 Related: odoo/enterprise#12309 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions