Tryton - Issues

 

Issue6074

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
Reviews

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

Messages
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.
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)