I wanted to add a new feature into survey module, which is adding an option in the questions where the user can upload a file or a picture but I'm having a problem when I run the survey it doesn't show the upload button. Can anyone please walk me through the steps on how to add this feature smoothly?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Dự án
- MRP
Câu hỏi này đã bị gắn cờ
2
Trả lời
3791
Lượt xem
Hi,
First you need to define a binary field in the python file.
field_name = fields.Binary(string=’give a name for this field’ )
And you should give a view in the XML file.
Once you define the field, you will have a button near the field to Upload your file.
Regards
Thank you sooo much ^^
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
3
thg 9 25
|
5270 | ||
|
|
1
thg 8 25
|
3513 | ||
|
|
1
thg 8 25
|
3493 | ||
|
|
1
thg 7 25
|
1427 | ||
|
Add images to Odoo Survey Questions
Đã xử lý
|
|
2
thg 6 25
|
3331 |
See how to use binary field: https://goo.gl/2JAxhD
Thank you soo much!!! this was really helpful ^^