CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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....
@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)
About This Community
Odoo Training Center
|Asked: 6/3/15, 6:06 AM|
|Seen: 1075 times|
|Last updated: 6/27/16, 3:00 AM|