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

Hi all,

This is version independent but I mostly working with Odoo 12.

Odoo has several internal function "definitions" (confirm, unlink (delete), create, update, etc.)?

Where can I get a list of all (or at least some of them) of this definitions for Odoo 12?

Thank you very much

Paulo

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

Hello,
You can check below link for your reference for Create Write,  and Unlink method of ODOO V12.

https://github.com/odoo/odoo/blob/12.0/addons/account/models/account.py#L754 (CREATE)
https://github.com/odoo/odoo/blob/12.0/addons/account/models/account.py#L311 (WRITE)
https://github.com/odoo/odoo/blob/12.0/addons/account/models/account.py#L332 (UNLINK)

And you can also find List of ORM method  from below file.
https://github.com/odoo/odoo/blob/12.0/odoo/models.py

https://github.com/odoo/odoo/blob/12.0/odoo/models.py#L3423 (CREATE)
https://github.com/odoo/odoo/blob/12.0/odoo/models.py#L3149 (WRITE)
https://github.com/odoo/odoo/blob/12.0/odoo/models.py#L3071 (UNLINK)

Thanks

الصورة الرمزية
إهمال
الكاتب

Thank you Sunny.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 20
4446
3
أكتوبر 23
8433
1
سبتمبر 23
3188
1
يونيو 23
7633
1
مايو 23
2123