Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5 Antwoorden
9293 Weergaven


Avatar
Annuleer

https://www.odoo.com/forum/help-1/question/difference-between-api-one-and-api-multi-in-api-odoo-openerp-68209

https://www.odoo.com/documentation/8.0/reference/orm.html#module-openerp.api

Beste antwoord

@api.one - automatically iterate recordset passed to function and call function for each record in recordset rather then for recordset in a whole.

@api.depends - using @api.depends you specify list of fields that your function depends on, i.e. fields you want to be available inside your function. (commonly used together with @api.onchange)


Avatar
Annuleer
Auteur

Thanks For Your answer Temur

Beste antwoord

API stands for Application Programming Interface, is a set of routine definitions, protocols, library, and tools that assists developers in writing code that connect with other software. It describes what functionality is available, how it must be used and what formats it will accept as input or return as output. An API may be for a web-based system, operating system, or database system, and it provides facilities to develop applications for that system using a given programming language. More.... 

http://net-informations.com/q/mis/api.html

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 25
1463
0
jan. 25
3606
1
aug. 23
14964
1
aug. 23
13622
1
jul. 23
10602