Reviewers: ,


Please review this at http://codereview.tryton.org/496003/

Affected files:
  M statement.py


Index: statement.py
===================================================================
--- a/statement.py
+++ b/statement.py
@@ -467,6 +467,13 @@
                 res['invoice'] = None
         return res

+    def copy(self, ids, default=None):
+        if default is None:
+            default = {}
+        default.setdefault('move', None)
+        default.setdefault('invoice', None)
+        return super(Line, self).copy(ids, default=default)
+
     def create_move(self, line):
         '''
         Create move for the statement line and return move id if created.


--
[email protected] mailing list

Reply via email to