Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2946 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Autore

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?

Post correlati Risposte Visualizzazioni Attività
1
gen 24
3483
2
mag 22
2336
5
ott 20
7781
0
nov 24
5821
1
ago 15
10659