[IMP] account: Fixed issue of duplication of period while duplicating of invoice...
authorpso (OpenERP) <pso@tinyerp.com>
Thu, 24 Nov 2011 08:32:27 +0000 (14:02 +0530)
committerNajlaâ <nel@tinyerp.com>
Thu, 24 Nov 2011 08:32:27 +0000 (14:02 +0530)
bzr revid: pso@tinyerp.com-20111124083227-vooey3pqwwqjfw4e

addons/account/invoice.py

index 0b59eaa..5927163 100644 (file)
@@ -610,6 +610,7 @@ class account_invoice(osv.osv):
             'move_id':False,
             'move_name':False,
             'internal_number': False,
+            'period_id': False
         })
         if 'date_invoice' not in default:
             default.update({