openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12225
[Bug 1009798] Re: [extra-addons]auto_backup only works when super-administrator password = admin
Hello Dries,
This issue has been committed on lp:openobject-addons/extra-6.0 branch
with following revision no and id.
5809 amp@xxxxxxxxxxx-20120607101712-vd488cuec87zx3nl
Thanks!
** Changed in: openobject-addons
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1009798
Title:
[extra-addons]auto_backup only works when super-administrator password
= admin
Status in OpenERP Addons (modules):
Fix Released
Bug description:
openerp version 6.0.4
addons-extra
module: auto_backup
in the module auto_backup the super administrator password is hard-
coded. So when it is changed then the backups produce files of 0kb. =>
no backup and you don't know it :-)
file: backup_scheduler.py
line 97
bkp = execute(conn, 'dump', 'admin', rec.name)
I changed it to and this seems to do the job:
bkp = execute(conn, 'dump',
tools.config['admin_passwd'], rec.name)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1009798/+subscriptions
Follow ups
References