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" />
何か案が?