Projet

Général

Profil

« Précédent | Suivant » 

Révision 5978c161

Ajouté par Mikaël Ates il y a presque 10 ans

actes: complete the setting of already billed field in the data migration.

Voir les différences:

calebasse/actes/migrations/0009_set_act_already_billed.py
7 7
class Migration(DataMigration):
8 8

  
9 9
    def forwards(self, orm):
10
        orm.Act.objects.filter(is_billed=True).update(already_billed=True)
10 11
        orm.Act.objects.exclude(invoice=None).update(already_billed=True)
11 12

  
12 13
    def backwards(self, orm):

Formats disponibles : Unified diff