mirror of
https://gitlab.com/datalifeit/trytond-stock_move_time
synced 2023-12-14 04:42:59 +01:00
Disable ir sequence update functionality.
This commit is contained in:
parent
11951328b7
commit
8c21226525
1 changed files with 2 additions and 0 deletions
2
stock.py
2
stock.py
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue