Skip to content
Extraits de code Groupes Projets
Valider 28e35c40 rédigé par migodoo's avatar migodoo
Parcourir les fichiers

[fix] depends in compute_amount_residual

parent a0bce619
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -72,7 +72,7 @@ class ScopCotisationsIDF(models.Model): ...@@ -72,7 +72,7 @@ class ScopCotisationsIDF(models.Model):
# Computed fields # Computed fields
# ------------------------------------------------------ # ------------------------------------------------------
@api.depends('payments_ids', 'debit', @api.depends('payments_ids', 'debit',
'payments_ids.debit', 'payments_ids.debit') 'payments_ids.debit', 'payments_ids.credit')
@api.multi @api.multi
def _compute_amount_residual(self): def _compute_amount_residual(self):
for r in self: for r in self:
......
...@@ -68,7 +68,7 @@ class ScopInvoiceIDF(models.Model): ...@@ -68,7 +68,7 @@ class ScopInvoiceIDF(models.Model):
# Computed fields # Computed fields
# ------------------------------------------------------ # ------------------------------------------------------
@api.depends('payments_ids', 'debit', @api.depends('payments_ids', 'debit',
'payments_ids.debit', 'payments_ids.debit') 'payments_ids.debit', 'payments_ids.credit')
@api.multi @api.multi
def _compute_amount_residual(self): def _compute_amount_residual(self):
for r in self: for r in self:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter