Here is useful parameters used by multiple methods in OpenERP
cr: database connection (cursor)
uid: id of user performing the operation
ids: record ids to perform the operation on
context: optional dictionary of contextual parameters
For example-
def _get_ean_next_code(self, cr, uid, product, context=None):
if context is None: context = {}
sequence_obj = self.pool.get('ir.sequence')
0 Comment(s)