Dottet notation in PYSON Eval

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'

Where 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 ?

Oh no :cry: answering myself here. Changing to

Eval('_parent_master_parent.type') == 'project'

Works like expected.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.