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

Hi everyone, under the module "fleet" Odoo I want to add a new object "park" in connection one2many with "vehicle" (ie, each vehicle is assigned a park x) and for more precision :

1) add to the menu item "Park" before "Vehicles"
2) a form for inserting objects "park" with two attributes (name_parc and adr_parc)
3) define the relationship one2many between park and vehicle
4) addition of linking field park in the vehicles form

questions:

a) I make this change directly on the "fleet" module or i must create another module with inheritance?
b) if possible a small technical description for this change

thank you in advance the Odoos

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

Hi Mehdi,

I suggest you to add your own custom module for this, as it is the better way. Because by doing that the change you make will only affect in Database that you install your custom module. And if you don't need that changes you can simply uninstall your custom module.

You can refer this Document for the module development: Official odoo v8 Developer docs [GitHub Source]

Hope this helps..

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 23
26527
4
thg 6 21
39562
1
thg 12 20
2748
1
thg 4 18
7862
3
thg 9 15
9695