Program Manager

The program manager determines which registrants/groups are included in the program.

odoo.addons.g2p_programs.models.managers.program_manager provides the class BaseProgramManager define the interface for this manager. DefaultProgramManager is the default implementation.

class odoo.addons.g2p_programs.models.managers.program_manager.BaseProgramManager[source]
last_cycle()[source]

Returns the last cycle of the program Returns:

cycle: the last cycle of the program

new_cycle()[source]

Create the next cycle of the program Returns:

cycle: the newly created cycle

class odoo.addons.g2p_programs.models.managers.program_manager.BaseProgramManager[source]
last_cycle()[source]

Returns the last cycle of the program Returns:

cycle: the last cycle of the program

new_cycle()[source]

Create the next cycle of the program Returns:

cycle: the newly created cycle