Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1996 Vistas

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
Mejor respuesta

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 23
1663
2
nov 23
1944
0
ago 23
1527
1
jul 23
3510
1
may 23
1557