我Many2many
为ir.attachemnt
. 问题是我看不到Add an item
添加记录的链接。
*.py
attachment_ids = fields.Many2many('ir.attachment', string='Attachments')
*.xml
<notebook>
<page string='Attachments'>
<field name="attachment_ids"/>
</page>
</notebook>
我也试过这个:
<field name="attachment_ids" widget="many2many" />
任何想法?