Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Best practice add optional="show" when adding fields in tree views

by "Ronald Portier" <rportier@therp.nl> - 29/08/2023 10:56:53
Thanks Pedro, we are in complete agreement then.


Regards, Ronald


Op 29-08-2023 om 10:42 schreef Pedro M. Baeza:

> Sorry, my bad. I don't know why, I read optional="hide". It's OK to 

> put optional="show", but I would leave out of the equation mandatory 

> fields without default, or those protected with a group, as the group 

> is already the filtering method for not showing them.

>

> Regards.

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 

> <https://odoo-community.org/groups/contributors-15>

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe 

> <https://odoo-community.org/groups?unsubscribe>

>

Reference