odoo.fields.first is removed in [REM] core: odoo.fields.first
An alternative, as proposed in the same commit would be to use next(iter(. For example: fields.first(recordset) would be turned into next(iter(recordset), recordset). (note the fallback parameter in case the recordset is empty that will return the proper empty recordset).
odoo.fields.firstis removed in [REM] core: odoo.fields.firstAn alternative, as proposed in the same commit would be to use
next(iter(. For example:fields.first(recordset)would be turned intonext(iter(recordset), recordset). (note the fallback parameter in case the recordset is empty that will return the proper empty recordset).