Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5881 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

Thank you Sunny.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 20
4577
3
lokak. 23
8836
1
syysk. 23
3336
1
kesäk. 23
7863
1
toukok. 23
2284