跳至內容
選單
此問題已被標幟
1 回覆
2963 瀏覽次數

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
1月 24
3502
2
5月 22
2352
5
10月 20
7798
0
11月 24
5842
1
8月 15
10668