Dhruti Shastri has proposed merging 
lp:~openerp-dev/openobject-addons/7.0-opw-584557-dhs into 
lp:openobject-addons/7.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584557-dhs/+merge/144493

When attempting to Apply the Settings, Configuration. Accounts dialogue an 
error message is issued:
=============================================================================
ValidateError
Error occurred while validating the field(s) date_stop: Error!
The period is invalid. Either some periods are overlapping or the period's 
dates are not matching the scope of the fiscal year.
=============================================================================
Delete all the fiscal year and period that been created. Create a new Fiscal 
year start form 1/08/2012 - date_stop: 31/07/2013 . 

Navigate to : Setting/Configuration/Accounting click on apply, will raise a 
ValidationError.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584557-dhs/+merge/144493
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/7.0-opw-584557-dhs.
=== modified file 'account/res_config.py'
--- account/res_config.py	2012-12-10 11:16:54 +0000
+++ account/res_config.py	2013-01-23 13:29:22 +0000
@@ -269,6 +269,9 @@
     def set_fiscalyear(self, cr, uid, ids, context=None):
         """ create a fiscal year for the given company (if necessary) """
         config = self.browse(cr, uid, ids[0], context)
+        # Creating FY Option doesn't shows on Configuration form but try to create in back-end 
+        if config.has_fiscal_year:
+            return False
         if config.has_chart_of_accounts or config.chart_template_id:
             fiscalyear = self.pool.get('account.fiscalyear')
             fiscalyear_count = fiscalyear.search_count(cr, uid,

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to