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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
2
回覆
3798
瀏覽次數
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 ^^
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
3
9月 25
|
5272 | ||
|
|
1
8月 25
|
3520 | ||
|
|
1
8月 25
|
3493 | ||
|
|
1
7月 25
|
1427 | ||
|
|
2
6月 25
|
3337 |
See how to use binary field: https://goo.gl/2JAxhD
Thank you soo much!!! this was really helpful ^^