Przeglądaj źródła

Fixed empty customer's number.

master
Pavel Šimerda 9 lat temu
rodzic
commit
8ad364e41d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      lib/invoice/db/base.py

+ 1
- 1
lib/invoice/db/base.py Wyświetl plik

@@ -199,7 +199,7 @@ class Data:
"""
def rename_key(self, oldkey, newkey):
"""Convenience function mainly intended for subclasses."""
if not self.__dict__.get(newkey) and oldkey in self._data:
if not self._data.get(newkey) and oldkey in self._data:
self._data[newkey] = self._data[oldkey]
del self._data[oldkey]


Ładowanie…
Anuluj
Zapisz