I want to upload multiple file how i can achieve it please let me know.
Here is the my xml field (
<field name="attachment_ids"/>)
Here is the .py
attachment_ids = fields.Binary("Attachment", required=True)Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to upload multiple file how i can achieve it please let me know.
Here is the my xml field (
<field name="attachment_ids"/>)
Here is the .py
attachment_ids = fields.Binary("Attachment", required=True)Hi,
You can add the attribute many2many_binary widget to upload one or more file in same time and display in list. The user can delete his files.
e.g:
<field name="attachment_ids" widget="many2many_binary"/>
Best regards!
Hi Sylvain,
'many2many_binary' widget can only be used with many2many fields. Also note that this widget is specific to the model 'ir.attachment'.
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
يوليو 20
|
3153 | ||
|
refers to an uninstalled module
تم الحل
|
|
1
سبتمبر 21
|
3219 | |
|
|
2
يوليو 21
|
7127 | ||
|
|
4
أكتوبر 20
|
7633 | ||
|
|
2
ديسمبر 24
|
2721 |