Skip to content

wiki "Migration to version 19.0" - [REM] core: odoo.fields.first #674

@chienandalu

Description

@chienandalu

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions