Odoo 도움말

0

0
2 응답
0
Avatar

Paresh Wagh India

--Paresh Wagh--

8280
| 4 2 4
Navi Mumbai, India
--Paresh Wagh--
Paresh Wagh India
19. 8. 6. 오후 9:42

Hi Levi: You also have the option of defining the field as a binary (odoo.fields.Binary) field. Attachments provide you the ability to attach multiple documents. The binary field will allow you to store one document in the binary field.

0
Avatar

Niyas Raphy India

--Niyas Raphy--
26418
| 7 7 11
Wayanad, Kerala, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy India
19. 8. 6. 오후 9:25

Hi,

See the below samples of adding Many2one and Many2Many field for storing files.

attachment_id = fields.Many2one('ir.attachment', string='Attachment', ondelete='cascade')

doc_attachment_id = fields.Many2many('ir.attachment', 'doc_attach_rel', 'doc_id', 'attach_id3', string="Attachment",
help='You can attach the copy of your document', copy=False)


Thanks

질문하기
Keep Informed
1 팔로워
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now