You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Si la factura es rectificativa y tiene percepciones de misiones la misma tiene que tener el mismo importe que la factura original y fecha igual o posterior a la de la factura original """
for amount in self.amount_by_group:
if amount[0] == 'Percepción IIBB Misiones' and self.reversed_entry_id and self.amount_total != self.reversed_entry_id.amount_total:
raise ValidationError("Si está haciendo una factura rectificativa con percepciones de misiones, la misma debe hacerse sobre el importe total de la factura original")