Skip to content

Commit

Permalink
[IMP] stock_barcodes_gs1: Use barcode_domain_field context in _proces…
Browse files Browse the repository at this point in the history
…s_ai_240

TT46823
  • Loading branch information
carlosdauden committed Jan 10, 2024
1 parent 1194792 commit fe6fa34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stock_barcodes_gs1/wizard/stock_barcodes_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def _process_ai_02(self, gs1_list):

def _process_ai_240(self, gs1_list):
"""Product identification"""
return self.process_barcode_product_id()
return self.with_context(
barcode_domain_field="default_code"
).process_barcode_product_id()

def _process_ai_10(self, gs1_list):
"""Serial/Lot identification"""
Expand Down

0 comments on commit fe6fa34

Please sign in to comment.