← Back to team overview

credativ team mailing list archive

[Branch ~credativ/openobject-addons/6.1] Rev 7064: [FIX] Do not set the default fiscal year on the aged partner balance, this breaks validation in a...

 

------------------------------------------------------------
revno: 7064
committer: Craig Gowing (credativ) <craig.gowing@xxxxxxxxxxxxxx>
branch nick: addons
timestamp: Thu 2014-12-18 15:22:48 +0000
message:
  [FIX] Do not set the default fiscal year on the aged partner balance, this breaks validation in a multi-company setting
modified:
  account/wizard/account_report_aged_partner_balance.py


--
lp:~credativ/openobject-addons/6.1
https://code.launchpad.net/~credativ/openobject-addons/6.1

Your team credativ is subscribed to branch lp:~credativ/openobject-addons/6.1.
To unsubscribe from this branch go to https://code.launchpad.net/~credativ/openobject-addons/6.1/+edit-subscription
=== modified file 'account/wizard/account_report_aged_partner_balance.py'
--- account/wizard/account_report_aged_partner_balance.py	2011-10-16 01:28:00 +0000
+++ account/wizard/account_report_aged_partner_balance.py	2014-12-18 15:22:48 +0000
@@ -41,6 +41,7 @@
         'period_length': 30,
         'date_from': lambda *a: time.strftime('%Y-%m-%d'),
         'direction_selection': 'past',
+        'fiscalyear_id': lambda *a: False,
     }
 
     def _print_report(self, cr, uid, ids, data, context=None):