We add a new model based on stock move that compute the cumulative quantity for
each incoming or outgoing move.
The product quantities by warehouse is refined to only get row at the date the
quantity actually change.
We also add company and access rules for both models.
On back-end without window function, the cumulative quantity is the initial
quantity of the day.
issue9389
review297881002
The windows that display product quantities should explicitly manage the
stock_skip_warehouse context to ensure static result.
issue9041
review253051002
The "Modify Cost Price" wizard create a revision record for each template or
product. The cost price re-computation methods apply those revisions at the
beginning of their date.
The stock accounting move is created and posted when the cost price is modified
by the re-computation.
issue8930
review260751002
sao prevents to open tree with more children than its limit and it switches to
the form view. So to allow the user to see the data, we must add a form view.
issue8844
review274341002
- Add childs field on the form view
- Duplicate "Locations Quantity" into tree and list
- Allow to search on quantity and forecast_quantity on location
issue7151
review43141002
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.
issue4416
review6971002
- Don't compute quantity for all products
- Pass context when calling function
- Use setdefault instead of searching key
- Remove form view for quantity and use the view from product modules (more
flexible for futher inherits)
- Fix some quidelines