Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2048 Vizualizări

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 :


Imagine profil
Abandonează
Autor Cel mai bun răspuns

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

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.



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
sept. 23
1228
0
sept. 24
1029
0
aug. 24
940
2
ian. 23
479
4
nov. 22
22583