[FIX] Account : Invoice line should contain the product description in notes (Ref...
authorDhruti(OpenERP) <>
Mon, 28 Feb 2011 10:53:53 +0000 (16:23 +0530)
committerJay Vora (OpenERP) <jvo@tinyerp.com>
Mon, 28 Feb 2011 10:53:53 +0000 (16:23 +0530)
bzr revid: jvo@tinyerp.com-20110228105353-xmq6tombapthe947

addons/account/invoice.py

index e4a6f81..1d4b1f7 100644 (file)
@@ -1105,6 +1105,7 @@ class account_invoice_line(osv.osv):
 
         domain = {}
         result['uos_id'] = uom or res.uom_id.id or False
+        result['note'] = res.description
         if result['uos_id']:
             res2 = res.uom_id.category_id.id
             if res2 :