mirror of
https://gitlab.com/datalifeit/trytond-stock_shipment_in_edi
synced 2023-12-14 06:42:59 +01:00
Fix reference assignment
This commit is contained in:
parent
9734a47582
commit
45dbd32b2f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue