コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1517 ビュー

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 

アバター
破棄
最善の回答

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.

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
7月 23
1320
2
11月 23
1436
0
8月 23
1226
1
7月 23
3081
1
5月 23
1213