Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5870 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Sunny.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 20
4574
3
thg 10 23
8814
1
thg 9 23
3328
1
thg 6 23
7848
1
thg 5 23
2270