﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6025	Q object relationship spanning	yopi	nobody	"the route 835 is a record of the table payment itself and does not appear when searched in the table deal via the FK deal
{{{
>>> MtPayment.objects.filter(route=835)
[<MtPayment: 132>]
>>> MtPayment.objects.filter(deal__route=835)
[]
}}}

But filtering on both criterias using a Q object fails to find anything:

{{{
>>> MtPayment.objects.filter(Q(route =835)|Q(deal__route=835))
[]
}}}"		closed	Database layer (models, ORM)	dev		duplicate		yannvr@…	Unreviewed	0	0	0	0	0	0
