コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
424 ビュー

Hi,

In Odoo 18, under the Sales module's Quotations view, within the Order Lines section, there is a 'View Button' checkbox in the column dropdown. How can I permanently remove this 'View Button' option from the dropdown so users cannot enable or disable it


アバター
破棄
最善の回答

Relevant js that renders the button in the first place should be around

get hasOptionalOpenFormViewColumn() {
return this.props.editable && this.env.debug && !this.props.hasOpenFormViewButton;
}

That being said, you must be in debug mode and the form must be editable in order to see that button.

So, you could extend that js function to prevent the button from appearing.

Or, inherit and modify the template that actually checks for it and renders the button, which would be 

web.ListRenderer
アバター
破棄