You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
636 B

11 years ago
  1. # See LICENSE file for full copyright and licensing details.
  2. from odoo import api, models, _
  3. class PortalWizardUser(models.TransientModel):
  4. _inherit = 'portal.wizard.user'
  5. @api.multi
  6. def get_error_messages(self):
  7. error_msg = super(PortalWizardUser, self).get_error_messages()
  8. if error_msg:
  9. error_msg[-1] = '%s\n%s' % (
  10. error_msg[-1],
  11. _("- Merge existing contacts together using the Automatic "
  12. "Merge wizard, available in the Action menu after selecting "
  13. "several contacts in the Customers list"))
  14. return error_msg