~akretion-team/account-financial-tools/account-financial-tools-account-writeoff-autodelete

« back to all changes in this revision

Viewing changes to account_writeoff_autodelete/patch/account_move_line.patch

  • Committer: Sebastien Beau
  • Date: 2013-12-18 22:07:32 UTC
  • Revision ID: sebastien.beau@akretion.com-20131218220732-yhgch974c2rvke8k
[ADD] add account_writeoff_autodelete

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=== modified file 'account/account_move_line.py'
 
2
--- account/account_move_line.py        2012-09-06 14:35:17 +0000
 
3
+++ account/account_move_line.py        2013-07-22 15:40:38 +0000
 
4
@@ -912,7 +912,7 @@
 
5
                 'date':date,
 
6
                 'state': 'draft',
 
7
                 'line_id': writeoff_lines
 
8
-            })
 
9
+            }, context=context)
 
10
 
 
11
             writeoff_line_ids = self.search(cr, uid, [('move_id', '=', writeoff_move_id), ('account_id', '=', account_id)])
 
12
             if account_id == writeoff_acc_id:
 
13