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

Hi,

I have installed openerp from nightly

follow the steps from: http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/

I have problem I have created a private module added function field in py and put filed in xml, but when updated the module, its give me error that following field does not exits in database,

In normal it work in launchpad branch, but in nightly it is give me error.

Please help me.

Regards,

Avatar
Hylkää

Did you import the py file in __init__.py ?

Tekijä

hi, yes , as i said its work in my local branch, but not in nightly remote

Have you tried uninstall / reboot server / reinstall ?

Tekijä

what to uninstall?

Use store=True :P

Tekijä

I already used :)

Can you post your custom module code? Maybe the problem is right there

Paras vastaus

Use store=True in the functional Field parameter. Using this the function fields value will Be stored In the Database only when you SAVE the record

Avatar
Hylkää
Tekijä

i did already

k grt.. fine

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 22
4172
2
maalisk. 15
5116
0
maalisk. 19
3219
2
maalisk. 15
14618
0
maalisk. 15
3778