要去除Many2one字段的「建立並編輯」選項,只要在view.xml裏對應的field定義裏增長options="{'no_create_edit':1}便可html
<field name="pay_bank_id" options="{'no_create_edit': 1}" />