Skip to Content
Menu
This question has been flagged
4 Replies
1810 Views

Hello,


In Odoo, when you add a product in an SO, you click on "add product", then your start to write the product ref or description in the first column. When you do it, odoo shows the products that contains the reference you are writing, and you can click on the product you want to add.

I would like to modify the proposed text, not to show only the reference and the description, but also to show additional information such as available quantity.


I have Odoo 12 and studio.


Thanks for your help

Adrien

Avatar
Discard
Author

Could you please drive me for this modification. I am on a SO. I open studio and then I select "Edit list view". I click on the first column. Which are the next steps please ?

It cannot be done from the studio. You need to create your custom module and override the name_get method and add the fields of the product you want to display.

Best Answer

Yes, you can do it using the name_get method in which you can add the content you want to display in the product m2o dropdown.



Avatar
Discard
Best Answer

You can inherit name_get method on product.product model and append as your required new fields.

Avatar
Discard