Skip to Content
Menú
This question has been flagged
1 Respondre
2004 Vistes

Hello All, 

Two weeks ago, we upgraded from Odoo 13 to Odoo 16, and one of the updates we found to be highly beneficial was the ability to receive products directly in the product line. However, it seems that this feature has now reverted to the old method, and we need to input quantities by adding a new line.
Do you have any ideas on how to bring back the option to set quantities in a single line?  


Thank you 

Avatar
Descartar
Best Answer

you can enable it again by following these steps:

  1. Go to the Settings module in Odoo.
  2. Under the "Technical" section, click on "User Interface."
  3. Look for the "Views" menu and click on "Views."
  4. In the "Views" list, search for the view associated with the model where you want to enable the "Display stock column in the tree view."
  5. Edit the view that corresponds to the model in question. This view typically has the name "tree" in its ID.
  6. In the XML view definition, locate the tag.
  7. Add the attribute widget="float_time" to this field tag, like this:

field name="product_qty" widget="float_time"/

Save your changes and refresh the page.

Avatar
Descartar
Autor

Thank you for your response.

I have tried to locate the corresponding model, and the closest one I found was 'track_po_line_qty_received_template' (I have attached the link for the photo).

Could you please advise if it's what you are talking about?

Much appreciate your help.

https://drive.google.com/file/d/1ekNvpjFfs6HaFUKhMJMIQjEULk5fsph1/view?usp=sharing

Related Posts Respostes Vistes Activitat
1
de jul. 23
1671
2
de nov. 23
1951
0
d’ag. 23
1529
1
de jul. 23
3517
1
de maig 23
1566