Change Odoo chatter creation message

all clases that inherits ‘mail.thread’ on record creation will display a message in the chatter log

class Project(models.Model):
    _name = "project.project"
    _description = "Project"
    _inherit = ['portal.mixin', 'mail.alias.mixin', 'mail.thread', 'mail.activity.mixin', 'rating.parent.mixin']
    _order = "sequence, name, id"
    _rating_satisfaction_days = False  # takes all existing ratings
    _check_company_auto = True

To be able to modify this message must override the _creation_message function

class Project(models.Model):
    _name = "project.project"
    _description = "Project"
    _inherit = ['portal.mixin', 'mail.alias.mixin', 'mail.thread', 'mail.activity.mixin', 'rating.parent.mixin']
    _order = "sequence, name, id"
    _rating_satisfaction_days = False  # takes all existing ratings
    _check_company_auto = True

    def _creation_message(self):
        """ Get the creation message to log into the chatter at the record's creation.
        :returns: The message's body to log.
        """
        self.ensure_one()
        doc_name = "Hello world"
        
        return _('%s created', doc_name)


Execute linux commands in sequence

command1 && command2
#executes commands in a sequence the next command will only execute if the previous was executed correctly 
command1;command2
#excutes all the commands in a sequence regardless if the previous one failed

Using gmail for testing

If you want to use gmail for testing without generating multiple accounts you can include a ‘+’ sign after your username and it will treated as a different user but it will be received in your main inbox

wordpress@gmail.com -> main email

wordpress+test1@gmail.com -> test account

wordpress+test2@gmail.com -> another test account