original_docstring: Sends RFQ mail to involved suppliers.
docstring: Sends RFQ mail to involved suppliers.
docstring_tokens: Sends RFQ mail to involved suppliers .
code: def send_to_supplier(self):
  		"""Sends RFQ mail to involved suppliers."""
  		for rfq_supplier in self.suppliers:
  			if rfq_supplier.send_email:
  				self.validate_email_id(rfq_supplier)
  
  				# make new user if required
  				update_password_link, contact = self.update_supplier_contact(rfq_supplier, self.get_link())
  
  				self.update_supplier_part_no(rfq_supplier.supplier)
  				self.supplier_rfq_mail(rfq_supplier, update_password_link, self.get_link())
  				rfq_supplier.email_sent = 1
  				if not rfq_supplier.contact:
  					rfq_supplier.contact = contact
  				rfq_supplier.save()
code_tokens: def send_to_supplier ( self ) : for rfq_supplier in self . suppliers : if rfq_supplier . send_email : self . validate_email_id ( rfq_supplier ) update_password_link , contact = self . update_supplier_contact ( rfq_supplier , self . get_link ( ) ) self . update_supplier_part_no ( rfq_supplier . supplier ) self . supplier_rfq_mail ( rfq_supplier , update_password_link , self . get_link ( ) ) rfq_supplier . email_sent = 1 if not rfq_supplier . contact : rfq_supplier . contact = contact rfq_supplier . save ( )
short_docstring: Sends RFQ mail to involved suppliers.
short_docstring_tokens: Sends RFQ mail to involved suppliers .
comment: """Sends RFQ mail to involved suppliers."""$SEP$# make new user if required