跳至内容
菜单
此问题已终结
1 回复
5865 查看

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
4573
3
10月 23
8809
1
9月 23
3326
1
6月 23
7848
1
5月 23
2270