Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2957 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 24
3496
Doubt about module Đã xử lý
2
thg 5 22
2348
5
thg 10 20
7789
0
thg 11 24
5837
1
thg 8 15
10664