Tryton - Issues

 

Issue7887

Title Missing search stock period by company
Priority bug Status chatting
Superseder Nosy List resteve, yangoon
Type behavior Components stock
Assigned To Keywords
Reviews

Created on 2018-11-26.12:26:01 by resteve, last changed by yangoon.

Messages
msg45026 (view) Author: [hidden] (resteve) Date: 2018-11-26.12:26:01
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 13:47:44yangoonsetnosy: + yangoon
2018-11-26 12:29:59cedsetpriority: feature -> bug
component: + stock
type: behavior
2018-11-26 12:26:01restevecreate

Showing 10 items. Show all history (warning: this could be VERY long)