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
8 lines
268 B
XML
8 lines
268 B
XML
<?xml version="1.0"?>
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
this repository contains the full copyright notices and license terms. -->
|
|
<tree keyword_open="1">
|
|
<field name="date"/>
|
|
<field name="quantity" expand="2"/>
|
|
</tree>
|