invoice
authorFabien Pinckaers <fp@tinyerp.com>
Fri, 2 Jan 2009 09:03:46 +0000 (10:03 +0100)
committerFabien Pinckaers <fp@tinyerp.com>
Fri, 2 Jan 2009 09:03:46 +0000 (10:03 +0100)
bzr revid: fp@tinyerp.com-20090102090346-8ghpu3ffp2nhl22c

addons/account/invoice.py

index bb4fde8..198ef5f 100644 (file)
@@ -859,7 +859,7 @@ class account_invoice(osv.osv):
         else:
             self.pool.get('account.move.line').reconcile_partial(cr, uid, line_ids, 'manual', context)
 
-        # Update the stored value
+        # Update the stored value (fields.function), so we write to trigger recompute
         self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
         return True
 account_invoice()