pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Since 17.0, the "attrs" and "states" attributes are no longer used

Open jcfernandez-890825 opened this issue 1 year ago • 3 comments

This error and other things are explained in OCA - Migration to version 17.0.

Can we add this to the addon?

jcfernandez-890825 avatar Sep 13 '24 16:09 jcfernandez-890825

@jcfernandez-890825 ,

Do you mean a feature to convert old syntax to new syntax?

trinhanhngoc avatar Sep 14 '24 07:09 trinhanhngoc

@jcfernandez-890825 ,

Do you mean a feature to convert old syntax to new syntax?

I just want the system to show an error when these attributes are used.

In the OCA link are also other things that are also no longer supported and give errors, like the parameters on the hooks when installing or uninstalling.

jcfernandez-890825 avatar Sep 14 '24 08:09 jcfernandez-890825

@jcfernandez-890825 ,

OK. Understood! It's nice to have these kinds of migration features.

trinhanhngoc avatar Sep 14 '24 09:09 trinhanhngoc

I'm migrating modules again, this feature would help me a lot right now 😅

jcfernandez-890825 avatar Aug 01 '25 11:08 jcfernandez-890825

I'm migrating modules again, this feature would help me a lot right now 😅

Ok =)))))

trinhanhngoc avatar Aug 01 '25 12:08 trinhanhngoc

Hello @jcfernandez-890825 ,

The new version 2025.6.0 has been released with the inspection for this.

trinhanhngoc avatar Sep 19 '25 09:09 trinhanhngoc

Screenshot:

Image

trinhanhngoc avatar Sep 19 '25 10:09 trinhanhngoc

Yes !!! May God bless you greatly my brother.

jcfernandez-890825 avatar Sep 19 '25 10:09 jcfernandez-890825