Skip to content

Commit

Permalink
Keeping original mapping for reorderpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jdetaeye committed Aug 22, 2024
1 parent 94a7ecd commit 56914aa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -2708,10 +2708,12 @@ def export_orderpoints(self):
convert stock.warehouse.orderpoint.qty_multiple -> buffer->size_multiple
"""
first = True
try:
has_buffer_max = self.version[0] >= 9
except Exception:
has_buffer_max = False
# Keeping with the original reorderpoint mapping now
# try:
# has_buffer_max = self.version[0] >= 9
# except Exception:
# has_buffer_max = False
has_buffer_max = False

if has_buffer_max:
# frepple >= 9.0 has native support for buffers with a min and max level
Expand Down

0 comments on commit 56914aa

Please sign in to comment.