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 :
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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
0
set. 23
|
1441 | |||
|
0
set. 24
|
1514 | |||
|
0
ago. 24
|
1517 | |||
|
2
jan. 23
|
479 | |||
|
Change filename on field.binary()
Resolvido
|
4
nov. 22
|
23362 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hope this will helps: https://learnopenerp.blogspot.com/2016/06/using-binary-fields-in-odoo.html