Fix reference assignment

This commit is contained in:
Carlos G?lvez 2019-11-25 07:56:05 +01:00
parent 397c040138
commit 81c5c83d16
1 changed files with 1 additions and 1 deletions

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