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

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,

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

Did you import the py file in __init__.py ?

Tác giả

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

Have you tried uninstall / reboot server / reinstall ?

Tác giả

what to uninstall?

Use store=True :P

Tác giả

I already used :)

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

i did already

k grt.. fine

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 22
4172
2
thg 3 15
5116
0
thg 3 19
3219
2
thg 3 15
14618
0
thg 3 15
3778