Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 88c2c8a52a75b67561ce0e3d94e2e0410eb6564e
  • 14.0 par défaut
  • 12.0 protégée
  • 13.0
4 résultats

scop_cotisation_cg_task.py

Blame
  • scop_cotisation_cg_task.py 687 o
    # © 2021 Le Filament (<http://www.le-filament.com>)
    # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
    
    from odoo import fields, models
    
    
    class CotisationCGTask(models.Model):
        _name = 'scop.cotisation.cg.task'
        _description = 'Gestion des créations des cotisations CG'
    
        year = fields.Integer('Année')
        message = fields.Char("Message")
        cotiz_created = fields.Integer("Appels de cotisation créés")
        cotiz_to_create = fields.Integer("Appels de cotisation à créer")
        is_error = fields.Boolean('En erreur', default=False)
        status = fields.Selection([
            ('in_process', 'En cours'),
            ('done', 'Terminé')
        ], string='Statut')