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

I added a field to res_partner in a custom module under odoo.sh. it works fine on my feature branch but when merging into STAGING branch I get "500 Internal error" because base should be upgraded in order to add the new field into the DB.

How may I fix this?

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

solved it by "odoo-bin -u base" in the sh console

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

Hi, without seeing the code it is difficult to tell what the issue might be. You check the odoo logs to see what is going wrong with your module.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 19
9355
4
thg 10 24
10483
1
thg 4 19
5889
1
thg 4 19
4593
1
thg 7 25
1673