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

i can't see my model in model list

__init__.py , __openerp__.py and lesson_view.xml is sure right, but i can't see my model

i copy a example from document alse don't work ...

Avatar
Hylkää
Paras vastaus

In order for openERP to see your module, you have to place it in the /addons directory.

Within openERP, you go to Settings -> Update Module List

Now you go to Settings -> Installed modules

Remove the filter installed, and type the name of your own module. It should appear here.

When upgrading your module (specially when you have modified the python code), you have to restart openERP in order for openERP to see the changes. Or you restart the whole machine if that is quicker.

Avatar
Hylkää
Tekijä

thanks, but stiil did not appear

can you send me the code (zipped module)? I don't mind to have a look. mail: openerp at vandeneijk dot EU

Tekijä

i hava resolved the problem. There is some error in my __openerp__.py .
i use field 'init_xml' , 'update_xml' they don't play well, now i use 'date' .
Thank you all the same

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
marrask. 24
29652
1
jouluk. 21
2607
0
jouluk. 21
2155
0
huhtik. 15
4435
0
maalisk. 15
3580