Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
(PC-10425): Offer creation: isbn required only for livre papier
Browse files Browse the repository at this point in the history
  • Loading branch information
yacine-pc committed Oct 15, 2021
1 parent 590fde4 commit 6e8ad0d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pcapi/core/categories/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
from . import subcategories


CAN_CREATE_FROM_ISBN_SUBCATEGORIES = (
subcategories.LIVRE_PAPIER.id,
subcategories.LIVRE_NUMERIQUE.id,
subcategories.LIVRE_AUDIO_PHYSIQUE.id,
)
CAN_CREATE_FROM_ISBN_SUBCATEGORIES = (subcategories.LIVRE_PAPIER.id,)


def can_create_from_isbn(subcategory_id: Optional[str]) -> bool:
Expand Down

0 comments on commit 6e8ad0d

Please sign in to comment.