It's only a experienced wild guess, but foreach on the table row says aml and that usually means that the records in the for loop are of model account.move.line which you haven't extended. But instead you have extended model account.payment. So you either have to extend the right model or you have to find another way to show the data in the report.
It's only a experienced wild guess, but
foreachon the table row saysamland that usually means that the records in the for loop are of modelaccount.move.linewhich you haven't extended. But instead you have extended modelaccount.payment. So you either have to extend the right model or you have to find another way to show the data in the report.