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

Hello.

I have downloaded the rpm of Odoo for Fedora. I have installed without problems, and now it's working.

But, how can I subclass a module (example: website) and do some edits and create my module from the original one?

Should I download the source code?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can use _inherit in your class.

class Object(osv.Model):

_name = 'nameOfProyect.name'

_inherit = 'example.example'

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Odoo is developed in python language.  I believe if you dowload the rpm from the official source, it has already had the source code within the package.

อวตาร
ละทิ้ง