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

Is it advisable to create a copy of a certain default odoo modules then modify it and import it as a custom module or just scaffold a module then do inheritance?

Option 1: 
copy Purchase app module folder
paste it in my custom addons folder
do some changes(required customization in the project)
then import the modified module and install

or Option 2: 
scaffold a clean module
then code it from scratch and use inheritance to get the feature of the Purchase module app

Awatar
Odrzuć
Najlepsza odpowiedź

According to me, It is always better to keep the default modules undisturbed.

I go with Option 2.

Better to create a custom module, inherit purchase models for which customization is needed.

Awatar
Odrzuć
Autor

but I have to code it from scratch is there a way to speed up the process if I'm just gonna add 1-2 customization to a certain odoo module, like a template maybe?

Powiązane posty Odpowiedzi Widoki Czynność
1
sty 24
3481
2
maj 22
2335
5
paź 20
7781
0
lis 24
5820
1
sie 15
10658