def action_send(self, cr, uid, ids, context=None):
""" This sends an email to ALL the addresses of the selected partners.
@param self: The object pointer
@param cr: the current row, from the database cursor,
@param uid: the current user ID for security checks
@param ids: List of Phonecall to Opportunity's IDs
@param context: A standard dictionary for contextual values
"""
With this little change everybody can use and inherit your methods with less code reading.
IMHO. Great Job...
I will mark as needs fixing just for logistic reason, in the moment you put this improvement in comments, i will approve.
I tried Basic enviroments and it works as expected.
Just some comments:
Method should be documented as:
http:// doc.openerp. com/v6. 0/contribute/ 15_guidelines/ documentation_ guidelines. html
def action_send(self, cr, uid, ids, context=None):
""" This sends an email to ALL the addresses of the selected partners.
@param self: The object pointer
@param cr: the current row, from the database cursor,
@param uid: the current user ID for security checks
@param ids: List of Phonecall to Opportunity's IDs
@param context: A standard dictionary for contextual values
"""
With this little change everybody can use and inherit your methods with less code reading.
IMHO. Great Job...
I will mark as needs fixing just for logistic reason, in the moment you put this improvement in comments, i will approve.