addons14/project_key/models/project_project.py
def create_sequence(self):
        """
        This method creates ir.sequence fot the current project
        :return: Returns create sequence
        """
        self.ensure_one()
        sequence_data = self._prepare_sequence_data()
        sequence = self.env["ir.sequence"].sudo().create(sequence_data)
        self.write({"task_key_sequence_id": sequence.id})
        return sequence

        This method creates ir.sequence fot the current project
        :return: Returns create sequence
        
This method creates ir.sequence fot the current project
This method creates ir . sequence fot the current project
def create_sequence(self):
        self.ensure_one()
        sequence_data = self._prepare_sequence_data()
        sequence = self.env["ir.sequence"].sudo().create(sequence_data)
        self.write({"task_key_sequence_id": sequence.id})
        return sequence
def create_sequence ( self ) : self . ensure_one ( ) sequence_data = self . _prepare_sequence_data ( ) sequence = self . env [ "ir.sequence" ] . sudo ( ) . create ( sequence_data ) self . write ( { "task_key_sequence_id" : sequence . id } ) return sequence
This method creates ir.sequence fot the current project
This method creates ir . sequence fot the current project
"""
        This method creates ir.sequence fot the current project
        :return: Returns create sequence
        """
Returns create sequence
Returns create sequence
self