Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Partner first name and last name

Entity: firstname.mixin

Compute Method: _compute_form_has_lastname_first

Inputs Method Outputs
names_order = self._get_names_order()
for record in self:
            record.form_has_lastname_first = names_order != "first_last"

Back to entity