Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Sep 20, 2022
1 parent e532f88 commit b3de0ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions beesdoo_product/models/beesdoo_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ def _compute_main_seller_id(self):
# “seller” and “supplier” are used interchangeably in this
# class. is this on purpose?
sellers_ids = product._get_main_supplier_info()
product.top_supplierinfo_id = (
sellers_ids and sellers_ids[0] or False
)
product.top_supplierinfo_id = sellers_ids and sellers_ids[0] or False

@api.multi
@api.depends(
Expand Down

0 comments on commit b3de0ed

Please sign in to comment.