Odoo Help

0

What is @api.one and @api.depends ,how it Works and what is the defference

By
Arunagiri
on 6/3/15, 6:06 AM 841 views


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

Temur
on 6/3/15, 6:40 AM

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

Temur
on 6/3/15, 6:42 AM
0
dell merca
On 6/27/16, 3:00 AM

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

0

Temur

--Temur--
2912
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 6/3/15, 7:00 AM

@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)


Thanks For Your answer Temur

Arunagiri
on 6/3/15, 7:08 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/3/15, 6:06 AM
Seen: 841 times
Last updated: 6/27/16, 3:00 AM