コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2096 ビュー

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
1239
0
9月 24
1065
0
8月 24
972
2
1月 23
479
4
11月 22
22652