[FIX] Account: pay invoice wizard: when making a full payment with write off, setting an analytic account doesn't create any analytic line
bzr revid: mra@mra-laptop-20100825084227-oakbksd27a5p5mhm
This commit is contained in:
@@ -161,6 +161,7 @@ class account_invoice_pay(osv.osv_memory):
|
||||
writeoff_account_id = context['write_off']['writeoff_acc_id']
|
||||
writeoff_journal_id = context['write_off']['writeoff_journal_id']
|
||||
comment = context['write_off']['comment']
|
||||
context['analytic_id'] = context['write_off']['analytic_id']
|
||||
|
||||
amount = data['amount']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user