[FIX] membership: fixed the computation of waiting membership state

bzr revid: qdp-launchpad@tinyerp.com-20101014143444-k8jgc1y2179x3upf
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-10-14 16:34:44 +02:00
parent ea290d5d6f
commit ac2df014aa
1 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,8 @@ class Partner(osv.osv):
tax_value = invoice_tax_obj.compute(cr, uid, invoice_id).values()
for tax in tax_value:
invoice_tax_obj.create(cr, uid, tax, context=context)
#recompute the membership_state of those partners
self.pool.get('res.partner').write(cr, uid, ids, {})
return invoice_list
Partner()