Tryton - Issues



Title Many2One sql_format should check model instance
Priority feature Status unread
Superseder Nosy List ced, pokoli
Type behavior Components trytond
Assigned To Keywords easy

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

msg30470 (view) 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.
Date User Action Args
2016-11-28 09:49:20pokolisetnosy: + pokoli
2016-11-26 15:09:21cedcreate