Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3154 Lượt xem

I want to make a dynamic snippet which load the dynamic data from the model. And the snippet also has a dropdown in the option where user choose or select and the data will be filtered depending on the users selection.

Example:

I need to create a custom snippet. For example my custom snippet name is s_student_snippet.

  1. Whenever I drag and drop the s_student_snippet into the website page it shows the list of student (student model: name, age, class).
  2. The s_student_snippet has also a snippet-option which is a dropdown menu. And the dropdown menu shows all the class of those students (student model: class). Suppose the value of dropdown menu are a. Class V, Class VI, Class IX and Class X. If I choose Class IX, then the student list filter out only Class IX student and display only Class IX students in the website.
Ảnh đại diện
Huỷ bỏ
Tác giả

@ Cybrosys Techno Solutions Pvt.Ltd
Your replies help to create dynamic snippet but not cover the main part which is snippet option with filtering data dynamically.

Câu trả lời hay nhất

Hi,

Please refer to this blog for creating dynamic snippets in Odoo:

 How to Create a Snippet in Odoo 16


Hope it helps

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

looking exactly the same and want to do that with Odoo online and Studio. 

Ảnh đại diện
Huỷ bỏ

@Cybrosys thank you for the Link. Is the implementation as shown on your link possible with Studio (Odoo online) or only through odoo SH / own hosted.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
4756
9
thg 5 25
17654
1
thg 2 24
1218
0
thg 1 24
1258
0
thg 8 23
1357