Issue 6074

Title
Many2One sql_format should check model instance
Priority
feature
Status
unread
Nosy list
ced, pokoli
Assigned to
Keywords
easy

Created on 2016-11-26.15:09:21 by ced, last changed 48 months ago by pokoli.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-11-26.15:09:21
Many2One.sql_format convert the value into int but in case it is a Model instance, it should test that it is an instance of target. This will detect programming error that are not always detected by scenario because id's could be the same.
History
Date User Action Args
2016-11-28 09:49:20pokolisetnosy: + pokoli
2016-11-26 15:09:21cedcreate

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