Compare commits

..
Author SHA1 Message Date
Raphael Michel ae4ad56585 POS settings API: Expose tax rounding mode 2026-10-30 16:13:16 +01:00
6 changed files with 6 additions and 5 deletions

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ dependencies = [
"dnspython==2.8.*",
"drf_ujson2==1.7.*",
"geoip2==5.*",
"importlib_metadata==9.*", # Polyfill, we can probably drop this once we require Python 3.10+
"isoweek",
"jsonschema",
"kombu==5.6.*",
+1
View File
@@ -991,6 +991,7 @@ class DeviceEventSettingsSerializer(EventSettingsSerializer):
'system_question_order',
'tax_rule_payment',
'tax_rule_cancellation',
'tax_rounding',
]
def __init__(self, *args, **kwargs):
+1 -1
View File
@@ -22,9 +22,9 @@
import os
import sys
from enum import Enum
from importlib import metadata
from typing import List
import importlib_metadata as metadata
from django.apps import AppConfig, apps
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
+1 -1
View File
@@ -23,10 +23,10 @@ import json
import logging
import pathlib
import re
from importlib import metadata
from urllib.parse import urljoin
from urllib.request import urlopen
import importlib_metadata as metadata
from django import template
from django.conf import settings
from django.utils.safestring import mark_safe
+1 -2
View File
@@ -31,8 +31,7 @@
# Unless required by applicable law or agreed to in writing, software distributed under the Apache License 2.0 is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under the License.
from importlib import metadata as metadata
import importlib_metadata as metadata
from django.conf import settings
from django.contrib import messages
from django.db import transaction
+1 -1
View File
@@ -41,7 +41,7 @@ from json import loads
from pathlib import Path
from urllib.parse import urlparse
from importlib import metadata
import importlib_metadata as metadata
from django.core.exceptions import ImproperlyConfigured
from django.utils.crypto import get_random_string
from kombu import Queue