Divyesh Makwana(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-894707-mdi into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #894707 in OpenERP Addons: "[trunk] Create Monthly Periods : unique key 
violation on Opening Periods"
  https://bugs.launchpad.net/openobject-addons/+bug/894707

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-894707-mdi/+merge/83548

Hello Sir,

I have fix the issue: https://bugs.launchpad.net/openobject-addons/+bug/894707 
"Create Monthly Periods : unique key violation on Opening Periods".

Thanks and Regards,

Divyesh Makwana(MDI)
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-894707-mdi/+merge/83548
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-894707-mdi.
=== modified file 'account/account.py'
--- account/account.py	2011-11-25 17:49:08 +0000
+++ account/account.py	2011-11-28 05:16:29 +0000
@@ -880,7 +880,7 @@
         for fy in self.browse(cr, uid, ids, context=context):
             ds = datetime.strptime(fy.date_start, '%Y-%m-%d')
             period_obj.create(cr, uid, {
-                    'name': _('Opening Period'),
+                    'name':  "%s %s" % (_('Opening Period'), ds.strftime('%Y')),
                     'code': ds.strftime('00/%Y'),
                     'date_start': ds,
                     'date_stop': ds,

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to