Featured
-
Function calling on button click in OpenERP
Adding a button on an OpenERP view is very easy an
by dinesh.singh
Tags
How to use Cursor in Odoo ?
When we use cursor first we have to move on Record Recordset and environment share the same cursor.And you can access cursor using like below code.
def my_fun(self):
cursor = self._cr
# or
self.env.cr
Note- if you need to use...
How to use cursor in OpenERP(Odoo)?
When we are using cursor we should use current environment cursor:
like below code.
self.env.cr
except if we need to use threads,we use like below code.
Environment.manage():
env = Environment(cr, uid, context)
Note- Environment.m...