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

Importing an excel/csv file on all my custom models work except on one specific model where I get this error:

Unknown error during import: : expected 'else' after 'if' expression (, line 2) at multiple rows

Anyone has any idea as to what's going on or how to solve this error? It's a very simple module, with 3 number fields and two references to other modules (one2many)


I'm on Odoo Online version saas~16.4+e


Avatar
Ignorer
Auteur Meilleure réponse

It was an error on the code of a computed field, on an if else statement

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
sept. 24
1330
1
nov. 19
7201
1
mars 15
5253
5
déc. 23
19562
2
juil. 25
2169