Skip to Content
Menu
This question has been flagged
1 Atsakyti
1915 Rodiniai

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


Portretas
Atmesti
Autorius Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugs. 24
1380
1
lapkr. 19
7267
1
kov. 15
5253
5
gruod. 23
19634
2
liep. 25
2296