what does attachment=True do odoo 13
问题 I created a custom module in which I have this field record_file = fields.Binary(string='file', attachment=True, help='Upload the file') from what I understand attachment=True should save my images or pdfs to ir.attachment but am not seeing any there am I doing something wrong 回答1: You are not doing something wrong, ir.attachment records are hidden when the value of res_field (a Char field) is set. When you upload the file and save, an attachment is created and the value of the res_field is