Fix reference assignment

This commit is contained in:
Carlos G?lvez 2019-11-25 07:56:05 +01:00
parent 9734a47582
commit 45dbd32b2f

View file

@ -243,7 +243,7 @@ class ShipmentIn(EdifactMixin, metaclass=PoolMeta):
@classmethod
@with_segment_check
def _process_BGM(cls, segment, template, control_chars=None):
return segment.elements[2], NO_ERRORS
return segment.elements[0], NO_ERRORS
@classmethod
@with_segment_check