Linkage report
This commit is contained in:
@@ -4490,6 +4490,13 @@ class LotReportLinkageRecord:
|
||||
if callable(set_lang):
|
||||
set_lang(language)
|
||||
|
||||
def get_common_context(self, commoncontext):
|
||||
shipment = getattr(self.lot, 'lot_shipment_in', None)
|
||||
get_common_context = getattr(shipment, 'get_common_context', None)
|
||||
if callable(get_common_context):
|
||||
return get_common_context(commoncontext)
|
||||
return None
|
||||
|
||||
@staticmethod
|
||||
def _report_record_key(record):
|
||||
return ShipmentIn._report_record_key(record)
|
||||
|
||||
Reference in New Issue
Block a user