Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: mrp_progress_button - V17

by
Data Dance s.r.o., Radovan Skolnik
- 09/04/2024 16:23:52
Hi,

in v17 the syntax of views changed a bit. You need to change this line
	attrs="{'invisible': [('state', '!=', 'confirmed')]}"
to something like this:
	invisible="state != 'confirmed'"

Similarly
	attrs="{'invisible': [('state', '!=', 'progress')]}"
to
	invisible="state != 'progress'"

That should do the trick.

Best regards

	Radovan Skolnik

On utorok 9. apríla 2024 16:17:37 CEST Rob Henderson wrote:

> Hi

> Newbie message. Can anyone provide any info on whether there will be a V17

> version of the module: mrp_progress_button I have successfully used the V15

> version in V16, but not so good in V17. Is there somewhere I can ask for a

> paid upgrade if this is not a priority? Regards  Rob

> 

> _______________________________________________

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

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

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

> 

> 

> 

> [1] https://odoo-community.org/groups/contributors-15

> [2] https://odoo-community.org/groups?unsubscribe




Reference