Missing search stock period by company
Scenario:
1- Company 1. Create stock period 2018-09-01
2- Company 2. Create stoc period 2018-12-01
In compute_quantities_query() method, the isn't "company" field in the domain search.
Also there isn't a default rule (ir.rule) by company [1]
Current get first period that find and maybe is not the current company [2]
[1] https://bitbucket.org/tryton/stock/src/9872e817351e36c2d2b6e438b835af3eb66c93b5/move.py#lines-1214
[2] https://bitbucket.org/tryton/stock/src/9872e817351e36c2d2b6e438b835af3eb66c93b5/move.py#lines-1219