Disable ir sequence update functionality.

This commit is contained in:
Sergio Morillo 2016-01-19 10:34:00 +01:00
parent 11951328b7
commit 8c21226525

View file

@ -165,6 +165,8 @@ class ShipmentOut:
@classmethod
def set_end_date(cls, records, name, value):
for record in records:
if not record.start_date:
continue
_interval = value - record.start_date
record.interval = cls._format_interval(_interval)
cls.save(records)