Created on 2020-11-11.18:07:16 by pokoli, last changed 3 days ago by roundup-bot.
New changeset 405f0ae5b65f by Cédric Krier in branch '5.8': Add missing inventory to depends of inventory_state https://hg.tryton.org/modules/stock/rev/405f0ae5b65f New changeset 0d34482d1be2 by Cédric Krier in branch '5.6': Add missing inventory to depends of inventory_state https://hg.tryton.org/modules/stock/rev/0d34482d1be2 New changeset c0ea635e6329 by Cédric Krier in branch '5.4': Add missing inventory to depends of inventory_state https://hg.tryton.org/modules/stock/rev/c0ea635e6329 New changeset 79042b153b75 by Cédric Krier in branch '5.0': Add missing inventory to depends of inventory_state https://hg.tryton.org/modules/stock/rev/79042b153b75
New changeset 3283445ab457 by Cédric Krier in branch 'default': Add missing inventory to depends of inventory_state https://hg.tryton.org/tryton-env/rev/3283445ab457
New changeset b7473de967d6 by Cédric Krier in branch 'default': Add missing inventory to depends of inventory_state https://hg.tryton.org/modules/stock/rev/b7473de967d6
Unlike msg61833, it does not work neither on tryton.
If it works on tryton then it is probably a bug in sao.
Or it is something similar to issue9630.
This is strange, because lines only depends on inventory_state which is an on change_field that depends on inventory. But if the inventory is not present on the view the on_change_with should return the draft value.
So for me the depends is correct
But it is not the proper fix because depends should solve this.
You are right. Including the inventory on the view fixes the issue. Thanks
I think it is linked to the fact that the inventory is not in the editable list view. So the
inventory_state can not be computed and then all fields are readonly.
It starts to work if the form view is opened and new lines are added because now the inventory field is set.
Using sao on version 5.8 it is not possible to create a new inventory move because the line is readonly.
Everything works well using tryton.
messages: + msg62292
|2020-11-23 23:36:50||roundup-bot||set||messages: + msg62155|
nosy: + roundup-bot
status: testing -> resolved
|2020-11-13 13:24:21||reviewbot||set||messages: + msg61898|
reviews: 295051002 -> 295051002,300911002
status: in-progress -> testing
superseder: + The depends of depends are not added to the view
|2020-11-13 12:16:24||ced||set||assignedto: ced|
messages: + msg61892
status: chatting -> in-progress
|2020-11-12 10:30:18||pokoli||set||status: testing -> chatting|
|2020-11-12 10:30:08||pokoli||set||assignedto: pokoli -> (no value)|
|2020-11-12 10:29:18||ced||set||messages: + msg61857|
|2020-11-12 10:06:36||pokoli||set||messages: + msg61854|
Showing 10 items. Show all history (warning: this could be VERY long)