please how can i uploade lot of documents in field ?
Module :
document = fields.Binary(string='Document', tracking=True)
document_name = fields.Char(string='Document Name', tracking=True)
XML :
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
please how can i uploade lot of documents in field ?
Module :
document = fields.Binary(string='Document', tracking=True)
document_name = fields.Char(string='Document Name', tracking=True)
XML :
Thanks
You can use Many2many field with model ir.attachment
document_ids = fields.Many2many('ir.attachment', string="Shipping Documents", help='Please attach Documents', copy=False)
Use widget="many2many_binary" attribute for field
Hope this helps.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
wrz 23
|
1222 | ||
|
0
wrz 24
|
1010 | ||
|
0
sie 24
|
921 | ||
|
2
sty 23
|
479 | ||
Change filename on field.binary()
Rozwiązane
|
|
4
lis 22
|
22501 |
Hope this will helps: https://learnopenerp.blogspot.com/2016/06/using-binary-fields-in-odoo.html