Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3252 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks for your help...

Ảnh đại diện
Huỷ bỏ