تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2961 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
الكاتب

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 24
3498
Doubt about module تم الحل
2
مايو 22
2351
5
أكتوبر 20
7795
0
نوفمبر 24
5841
1
أغسطس 15
10667