Created on 2021-09-24.15:40:19 by pokoli, last changed 3 months ago by roundup-bot.
New changeset 54817318a430 by Cédric Krier in branch 'default': Add lot traceability https://hg.tryton.org/tryton-env/rev/54817318a430
New changeset 6b5f97da147a by Cédric Krier in branch 'default': Add lot traceability https://hg.tryton.org/modules/stock_lot/rev/6b5f97da147a
New changeset f9b4c7fcdd86 by Cédric Krier in branch 'default': Add lot traceability https://hg.tryton.org/modules/production/rev/f9b4c7fcdd86
Indeed my comment about using table_query is not good because it will require for the database to scan all the moves which is not good for a growing table like
stock_move. But also the current proposal as the same problem by joining the table with itself.
In fact it is better to compute the downward and upward traces in Python just for the displayed moves.
Here is review387871002 which implement a new model based on
stock.move and compute the downward and upward traces. The benefit is that it works also if
production is not activated (and replace the existing moves relate). And thanks to the contextual menu, user can follow the trace for a specific lot from a production.
By the way I did not implement a scenario because the code is mainly about definition of model which is executed by the standard module test case.
Here is review381061002 implementing it.
It still missing some test suite and minor fixes but all the functionality is there
|2022-03-19 22:45:09||roundup-bot||set||messages: + msg74619|
|2022-03-19 22:45:04||roundup-bot||set||messages: + msg74618|
nosy: + roundup-bot
status: testing -> resolved
|2022-02-07 23:03:42||reviewbot||set||messages: + msg73926|
|2022-02-07 22:39:24||ced||set||assignedto: pokoli -> ced|
component: + production
messages: + msg73921
nosy: + ced
reviews: 381061002 -> 381061002,387871002
|2021-12-14 18:00:39||reviewbot||set||messages: + msg72541|
|2021-11-02 10:49:23||reviewbot||set||messages: + msg71479|
|2021-10-20 17:59:40||reviewbot||set||messages: + msg71142|
|2021-09-29 12:03:56||reviewbot||set||messages: + msg70504|
|2021-09-27 12:32:09||udono||set||nosy: + udono|
Showing 10 items. Show all history (warning: this could be VERY long)