Tryton - Issues

 

Issue9083

Title Reference field in editable list are not correctly set with on_change's call
Priority bug Status resolved
Superseder Nosy List nicoe, reviewbot, roundup-bot
Type behavior Components sao
Assigned To nicoe Keywords review
Reviews 297071003
View: 297071003

Created on 2020-02-24.11:46:18 by nicoe, last changed by roundup-bot.

Messages
New changeset 83ff01e2d1c2 by Nicolas Évrard in branch '5.4':
Use field.set to set value from on_change calls
https://hg.tryton.org/sao/rev/83ff01e2d1c2

New changeset 0e7857021a0d by Nicolas Évrard in branch '5.2':
Use field.set to set value from on_change calls
https://hg.tryton.org/sao/rev/0e7857021a0d

New changeset 5e7a595d73f4 by Nicolas Évrard in branch '5.0':
Use field.set to set value from on_change calls
https://hg.tryton.org/sao/rev/5e7a595d73f4
New changeset bc26c5d1dddb by Nicolas ?vrard in branch 'default':
Use field.set to set value from on_change calls
https://hg.tryton.org/tryton-env/rev/bc26c5d1dddb
New changeset 2060bbe6cf44 by Nicolas ?vrard in branch 'default':
Use field.set to set value from on_change calls
https://hg.tryton.org/sao/rev/2060bbe6cf44
New review297071003 at https://codereview.tryton.org/297071003/#ps299061002
msg55556 (view) Author: [hidden] (nicoe) (Tryton committer) Date: 2020-02-24.11:46:17
If you're setting a reference field with an on_change in an editable list the the model selection will not be set to the correct value while it will work with tryton.

This is due to a small difference in handling values coming from on_change between sao and tryton.
History
Date User Action Args
2020-04-25 12:56:08roundup-botsetmessages: + msg57470
keyword: - backport
2020-04-18 17:54:06cedsetkeyword: + backport
2020-04-18 17:21:17roundup-botsetmessages: + msg57272
2020-04-18 17:21:13roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg57271
2020-02-24 13:38:16pokolisetstatus: chatting -> testing
2020-02-24 12:16:10reviewbotsetstatus: unread -> chatting
nosy: + reviewbot
messages: + msg55558
2020-02-24 12:16:09reviewbotsetreviews: 297071003
keyword: + review
2020-02-24 11:46:18nicoecreate

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