跳至內容
選單
此問題已被標幟
1 回覆
3196 瀏覽次數

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

頭像
捨棄
最佳答案

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..

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
1月 23
26253
4
6月 21
39411
1
12月 20
2645
1
4月 18
7725
3
9月 15
9580