addons14/project_key/models/project_project.py
def _prepare_sequence_data(self, init=True):
        """
        This method prepares data for create/update_sequence methods
        :param init: Set to False in case you don't want to set initial values
        for number_increment and number_next_actual
        """
        values = {
            "name": "{} {}".format(_("Project task sequence for project"), self.name),
            "implementation": "standard",
            "code": "project.task.key.{}".format(self.id),
            "prefix": "{}-".format(self.key),
            "use_date_range": False,
        }

        if init:
            values.update(dict(number_increment=1, number_next_actual=1))

        return values

        This method prepares data for create/update_sequence methods
        :param init: Set to False in case you don't want to set initial values
        for number_increment and number_next_actual
        
This method prepares data for create/update_sequence methods
This method prepares data for create / update_sequence methods
def _prepare_sequence_data(self, init=True):
        values = {
            "name": "{} {}".format(_("Project task sequence for project"), self.name),
            "implementation": "standard",
            "code": "project.task.key.{}".format(self.id),
            "prefix": "{}-".format(self.key),
            "use_date_range": False,
        }
        if init:
            values.update(dict(number_increment=1, number_next_actual=1))
        return values
def _prepare_sequence_data ( self , init = True ) : values = { "name" : "{} {}" . format ( _ ( "Project task sequence for project" ) , self . name ) , "implementation" : "standard" , "code" : "project.task.key.{}" . format ( self . id ) , "prefix" : "{}-" . format ( self . key ) , "use_date_range" : False , } if init : values . update ( dict ( number_increment = 1 , number_next_actual = 1 ) ) return values
This method prepares data for create/update_sequence methods
This method prepares data for create / update_sequence methods
"""
        This method prepares data for create/update_sequence methods
        :param init: Set to False in case you don't want to set initial values
        for number_increment and number_next_actual
        """
self
init
Set to False in case you don't want to set initial values
for number_increment and number_next_actual
Set to False in case you don ' t want to set initial values for number_increment and number_next_actual