İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
421 Görünümler

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


Avatar
Vazgeç
En İyi Yanıt

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
Avatar
Vazgeç