浏览代码

Avoid confusion with RaifTransaction field names

Refactor them to distinguish between source and destination accounts.
Also fix typo inherited from actual CSV field name.
Alois Mahdal 5 年前
父节点
当前提交
1b0de8315c
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      gcconv.py

+ 5
- 5
gcconv.py 查看文件

@@ -327,12 +327,12 @@ class RaifTransaction(BaseTransaction):
327 327
         (
328 328
             transaction_date,
329 329
             booking_date,
330
-            account_number,
331
-            account_name,
330
+            src_account_number,
331
+            src_account_name,
332 332
             transaction_category,
333
-            accocunt_number,
334
-            name_of_account,
335
-            transaction_type,
333
+            dst_account_number,
334
+            dst_account_name,
335
+            dst_ransaction_type,
336 336
             message,
337 337
             note,
338 338
             vs,