Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3182 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 23
26213
4
cze 21
39385
1
gru 20
2612
1
kwi 18
7691
3
wrz 15
9542