Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2011 Tampilan

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 :


Avatar
Buang
Penulis Jawaban Terbai

Thanks

Avatar
Buang
Jawaban Terbai

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.



Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Sep 23
1216
0
Sep 24
1007
0
Agu 24
907
2
Jan 23
479
4
Nov 22
22491