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

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
3月 20
4577
3
10月 23
8836
1
9月 23
3336
1
6月 23
7861
1
5月 23
2284