Skip to Content

Contributors

Re: Form field conditional formatting

Hello Radovan,

If you want to highlight fields you can use the decoration-* inside the Field declaration in the XML file of the view.


I hope it helps. Best regards,
José Vizcaya.

On Mon, Apr 22, 2024, 03:22 Radovan Skolnik <notifications@odoo-community.org> wrote:
Hello,

I am looking for something to allow me to conditionally highlight (i.e. decoration would be sufficient - no need for custom CSS styles) form(!) fields. I have a feeling there is something or I am missing something very obvious but I am at lost here. Any suggestions?

Thank you very much. Best regards

	Radovan Skolnik


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by josevizcaya0616 - 01:21 - 22 Apr 2024

Reference

  • Form field conditional formatting
    Hello,
    
    I am looking for something to allow me to conditionally highlight (i.e. decoration would be sufficient - no need for custom CSS styles) form(!) fields. I have a feeling there is something or I am missing something very obvious but I am at lost here. Any suggestions?
    
    Thank you very much. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 09:21 - 22 Apr 2024