Tryton - Issues

 

Issue7514

Title Can not set string default value for Reference field
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components sao
Assigned To ced Keywords review
Reviews 42241002
View: 42241002

Created on 2018-06-13.09:28:31 by ced, last changed by roundup-bot.

Messages
New changeset f16b057cb831 by C├ędric Krier in branch 'default':
Call set method in set_default
https://hg.tryton.org/sao/rev/f16b057cb831
review42241002 updated at https://codereview.tryton.org/42241002/#ps1
msg41385 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-06-13.09:28:30
The Sao.field.set_default method does not use set method but directly set _values. So if the format of the default value is not the internal one of the field, it fails.
tryton calls set method in set_default.
History
Date User Action Args
2018-06-18 21:48:09roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg41453
2018-06-13 10:03:35reviewbotsetnosy: + reviewbot
messages: + msg41386
2018-06-13 09:29:36cedsetstatus: in-progress -> testing
reviews: 42241002
keyword: + review
2018-06-13 09:28:31cedcreate

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