Cannot get the current ID of an object in extrafield

I’m trying to create an extra field for expense reports, to show the date of payment both on the list and view.

My code is

payment_expensereport:datep:r::rowid = $ID$

but it’s not working. Tired also

payment_expensereport:datep:rowid::fk_expensereport = $ID$

same result.

Any clue?