浏览代码

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]


正在加载...
取消
保存