Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3292 Widoki

Hi.

I'm using Windows server 2008 and openerp 7 (all in one)

I have created a simple module. it contains information about a patient.

the definition for de field name was: 'name': fields.string(string='Patinents name')

everything was ok and de module was instaled correctly until I changed the definition to:

'name': fields.char('patient name ',size=256,required=true, style="width: 20%%"),

tried again whith :

'name': fields.char(string="patient name",size=256,required=true, style="width: 20%%"),

every time I trie to update de application those changes are not aplied.

I think is could be a configuration in the server or some like that.

tnanks for your help.

Awatar
Odrzuć
Najlepsza odpowiedź

Whenever you make any changes in python (.py) file, you must need to restart OpenERP server. After restarting the server you can see you changes.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thanks for your help...

Awatar
Odrzuć