Issue 8718

Title
Stock period selected from any company
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2019-10-08.17:43:50 by ced, last changed 35 months ago by roundup-bot.

Messages

New changeset 18cbe374c267 by Cédric Krier in branch '5.2':
Ensure to select period from the right company
https://hg.tryton.org/modules/stock/rev/18cbe374c267

New changeset 9692cb9c1210 by Cédric Krier in branch '5.0':
Ensure to select period from the right company
https://hg.tryton.org/modules/stock/rev/9692cb9c1210

New changeset 14e8a2ce3a7b by Cédric Krier in branch '4.8':
Ensure to select period from the right company
https://hg.tryton.org/modules/stock/rev/14e8a2ce3a7b
New changeset 2a701e7c23b7 by Cédric Krier in branch 'default':
Ensure to select period from the right company
https://hg.tryton.org/tryton-env/rev/2a701e7c23b7
New changeset 0b3269cab0c9 by Cédric Krier in branch 'default':
Ensure to select period from the right company
https://hg.tryton.org/modules/stock/rev/0b3269cab0c9
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-10-08.17:48:58
We can also expected better performance as the company clause is simpler than the record rule. So an index could be created.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-10-08.17:43:49
The stock period are company related but it is used in some places without ensuring to pick one from the same company. This may result in wrong quantity computation by using the wrong cache.
History
Date User Action Args
2019-10-23 00:57:00roundup-botsetmessages: + msg52629
keyword: - backport
2019-10-16 21:28:16roundup-botsetmessages: + msg52527
2019-10-16 21:28:10roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg52526
2019-10-16 21:27:58cedsetkeyword: + backport
2019-10-08 18:12:55reviewbotsetnosy: + reviewbot
messages: + msg52354
2019-10-08 17:48:58cedsetmessages: + msg52345
2019-10-08 17:47:26cedlinkissue7887 superseder
2019-10-08 17:46:10cedsetstatus: in-progress -> testing
reviews: 258281002
keyword: + review
2019-10-08 17:43:50cedcreate

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