Skip to content

Commit

Permalink
Merge pull request #49 from LeComptoirDesPharmacies/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
GeryDuComptoirDesPharmacies authored Jul 27, 2023
2 parents 97dc342 + c47a4c0 commit edad9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion business/services/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def update_or_create_product_insight(product, excel_product, product_type, vat,

product_insight = __get_product_insight_by_barcodes(product.barcodes)
if product_insight:
logging.info(f'Product insight found by barcode. Update insight {product.source.lcdp_catalog.id}')
logging.info(f'Product insight found by barcode. Update insight {product_insight.id}')
return __update_product_insight(product_insight.id, product.barcodes, excel_product, product_type, vat, laboratory)

logging.info(f'Create a new product insight')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ openpyxl==3.0.9
envsubst==0.1.5
nose2==0.11.0
Pillow==9.1.1
lcdp-api==1.7.0.post3+git.bdadcf08
lcdp-api==1.7.1
python-openapi-generator-cli==1.3.1
python-rest-client-codegen==1.3.1

0 comments on commit edad9dd

Please sign in to comment.