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

I want to open base module to see original code for base models like 'res.partner', 'res.users' etc.. , I only see _inherit = 'res.partner' while I want to see it as python code

I am using odoo 9

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

I found it finally,
openerp/addons/base/res


https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/res/res_partner.py#L133

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

you can found it under /opt/odoo/openerp/addons/base

(*) /opt/odoo/ is the odoo installation directory in my case.

الصورة الرمزية
إهمال