openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #07686
Re: [Merge] lp:~therp-nl/ocb-web/7.0_lp1340813 into lp:ocb-web
Review: Needs Information code review
I think that the name would have an initial dot if there is no _recname, leading to incorrect file names or hidden files. Can it be?
I suggest to put:
if file_name:
file_name = '%s.%s' % (file_name, report_struct['format'])
else:
file_name = report_struct['format']
Regards.
--
https://code.launchpad.net/~therp-nl/ocb-web/7.0_lp1340813/+merge/226488
Your team OpenERP Community Backports is subscribed to branch lp:ocb-web.
References