Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2697 มุมมอง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 24
2688
Doubt about module แก้ไขแล้ว
2
พ.ค. 22
1889
5
ต.ค. 20
7187
0
พ.ย. 24
5173
1
ส.ค. 15
9929