Description:
In this video, we are discussing how to define a name_get() function in odoo 15 and its use cases in odoo development.
In Odoo ERP whenever we make a quotation, sale order, or in any case when we type a product name, we can see the suggestion of products shown in a dropdown list. In this list, product names are preceded with a unique code called an internal reference. This is shown in the suggestion list for selecting exact products from two or more products that have the same name. This process of obtaining internal reference with the product name in the product list is done using the name_get() function in Odoo.