Tryton - Issues

 

Message45026

Author resteve
Recipients
Date 2018-11-26.12:26:01
Content
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
History
Date User Action Args
2018-11-26 12:26:01restevesetmessageid: <1543231561.75.0.612996642433.issue7887@tryton.org>
2018-11-26 12:26:01restevelinkissue7887 messages
2018-11-26 12:26:01restevecreate