Created on 2018-11-26.12:26:01 by resteve, last changed 34 months ago by ced.
Solved by issue8718
To fix this issue, the stock module must be freed of record rules. As it is a big changes, it will not be back-ported. So this means that multi-company setup can not close period.
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  Current get first period that find and maybe is not the current company   https://bitbucket.org/tryton/stock/src/9872e817351e36c2d2b6e438b835af3eb66c93b5/move.py#lines-1214  https://bitbucket.org/tryton/stock/src/9872e817351e36c2d2b6e438b835af3eb66c93b5/move.py#lines-1219
|2019-10-08 17:47:26||ced||set||status: chatting -> closed|
messages: + msg52344
superseder: + Stock period selected from any company
|2018-12-31 00:31:28||ced||link||issue4080 superseder|
messages: + msg45639
|2018-11-26 13:47:44||yangoon||set||nosy: + yangoon|
|2018-11-26 12:29:59||ced||set||priority: feature -> bug|
component: + stock
Showing 10 items. Show all history (warning: this could be VERY long)