Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1886 Näkymät

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
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
syysk. 24
1362
1
marrask. 19
7236
1
maalisk. 15
5253
5
jouluk. 23
19598
2
heinäk. 25
2209