跳至内容
菜单
此问题已终结
2 回复
2047 查看

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.



形象
丢弃
相关帖文 回复 查看 活动
0
9月 23
1228
0
9月 24
1029
0
8月 24
939
2
1月 23
479
4
11月 22
22581