Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 83dd765802e4c820622ad0f5bd495b0adcb0cff6
  • 14.0 par défaut protégée
  • 14-RV-202503401
3 résultats

scop_cotisation.py

Blame
  • Bifurcation depuis Le Filament / Confédération Générale des SCOP / cgscop_cotisation
    Le projet source a une visibilité limitée.
    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')