From 046404b7888fd323cfad3a13381d02a75e3f9ac8 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Mon, 24 Jan 2005 13:07:24 +0000
Subject: [PATCH] by seb: make sure the resource is nicely setted in the
 payment transaction

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2274 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Invoice.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5/Document/Invoice.py b/product/ERP5/Document/Invoice.py
index 7b40fd5109..70ab14c459 100755
--- a/product/ERP5/Document/Invoice.py
+++ b/product/ERP5/Document/Invoice.py
@@ -185,6 +185,7 @@ class Invoice(AccountingTransaction):
           , id = payment_id
           , source = self.getSource()
           , reference = self.getReference()
+          , resource = self.getResource()
           , start_date = self.getStartDate()
           , source_payment = self.getSourcePayment()
           , source_section = self.getSourceSection()
-- 
2.30.9