~fabien-morin/unifield-web/fm-sp-222

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/actions.py

  • Committer: jf
  • Date: 2016-01-19 10:32:51 UTC
  • mfrom: (4774.2.1 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20160119103251-clb34vh4d37nw44m
US-801 / US-661 [FIX] Issue with report launched in background
lp:~unifield-team/unifield-web/us-661

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
        if datas.get('force_attach'):
190
190
            attachment = 'attachment;'
191
191
        if background_id:
192
 
            bg_report = rpc.session.execute('object', 'execute', 'memory.background.report', 'write', [background_id], {'report_id': background_id, 'report_name': report_name})
 
192
            bg_report = rpc.session.execute('object', 'execute', 'memory.background.report', 'write', [background_id], {'report_id': report_id, 'report_name': report_name})
193
193
 
194
194
 
195
195
        while not state: