In version 5.4 there is a dottet notation added for Eval (see PYSON — trytond 5.4 documentation). The problem is however that dottet notation worked before, but on fields in the same table. Maybe it wasn’t intended to work that way, but it did.
So this works for Tryton < 5.4
Eval('master_parent.type') == 'project'
master_parent is a
Many2One field (in the same table) and I want to have the field
type of that record.
How can this be accomplished in Tryton >= 5.4 ?