Sélectionner une révision Git
Bifurcation depuis
Le Filament / Confédération Générale des SCOP / cgscop_partner
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')