Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2323 Vues

I am inheritting contact form view to add fields tracking to odoo fields, everything was going fine until I faced a weird problem on a field, I uninstalled the module and it kept showing: I added this :x_studio_is_an_end_user=fields.Boolean(string='X studio',track_visibilty='always'). And I am getting always this error: 

ValueError: Invalid field 'x_studio_is_an_end_user' on model 'res.partner'


In the manifest I added this, but I am not sure about it: 

'depends': [
'base',
],
Avatar
Ignorer
Meilleure réponse

Hi,

The reason for this error is that the field ‘x_studio_is_an_end_user’ is removed automatically when you uninstall that module. Every customization we add through the studio will be automatically removed once we uninstall or upgrade that module. It is always better to add new fields or new customization through code.

For solving these issues, you need to add the same field again. Or you need to remove the code that used the field ‘x_studio_is_an_end_user’.

Regards

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
déc. 22
2106
0
sept. 21
2322
1
juil. 25
1200
2
mars 25
1480
0
févr. 25
1126