diff options
| author | Josse Colpaert <jco@odoo.com> | 2016-07-19 15:21:54 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2016-08-19 17:16:18 +0200 |
| commit | c3665fb5c9c9c50e9a8fd2d52e83c50f52d603aa (patch) | |
| tree | f02b12bbc01918b2693de5771a25ab1bf2d8bd00 /addons/website_form/controllers | |
| parent | 7a7720914950945365d13b7003e1e8dd9337d365 (diff) | |
[FIX] mrp_mps, product: we need to be able to calculate stock in the past for the MPS
When calculating the stock quantity fields, we can put a
from/to_date in the context. This should work in the past too.
We see the to_date as the date in the past to calculate and calculate
backwards from the stock now to the date in the past.
This is done by doing an extra read_group on the stock moves,
with a similar domain except that it takes the moves done from
date_to.
Diffstat (limited to 'addons/website_form/controllers')
0 files changed, 0 insertions, 0 deletions
