Skip to content

Commit

Permalink
Settings: add RESPA_SAP_INTERFACE_ID setting
Browse files Browse the repository at this point in the history
This value is required for XML SAP sales order generation.

Refs: TTVA-146
  • Loading branch information
danjacob-anders committed Aug 7, 2023
1 parent 44f401b commit 2da3971
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions respa/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
Django settings for respa project.
"""

import os
import subprocess

import environ
import os
import sentry_sdk
import subprocess
from django.core.exceptions import ImproperlyConfigured
from django.utils.translation import ugettext_lazy as _
from django_jinja.builtins import DEFAULT_EXTENSIONS # noqa
Expand Down Expand Up @@ -398,6 +397,8 @@ def get_git_revision_hash():
# amount of minutes before orders in state "waiting" will be set to state "expired"
RESPA_PAYMENTS_PAYMENT_WAITING_TIME = env("RESPA_PAYMENTS_PAYMENT_WAITING_TIME")

RESPA_SAP_INTERFACE_ID = env("RESPA_SAP_INTERFACE_ID", default="NOTSET")

# local_settings.py can be used to override environment-specific settings
# like database and email that differ between development and production.
local_settings_path = os.path.join(BASE_DIR, "local_settings.py")
Expand Down

0 comments on commit 2da3971

Please sign in to comment.