瀏覽代碼

Fixed empty customer's number.

master
Pavel Šimerda 9 年之前
父節點
當前提交
8ad364e41d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      lib/invoice/db/base.py

+ 1
- 1
lib/invoice/db/base.py 查看文件

@@ -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]


Loading…
取消
儲存