← Back to team overview

credativ team mailing list archive

lp:~matthieuchoplin/credativ-openerp/ERP-449-fix-when-creating-attachment into lp:credativ-openerp

 

Matthieu Choplin has proposed merging lp:~matthieuchoplin/credativ-openerp/ERP-449-fix-when-creating-attachment into lp:credativ-openerp.

Requested reviews:
  credativ (credativ)

For more details, see:
https://code.launchpad.net/~matthieuchoplin/credativ-openerp/ERP-449-fix-when-creating-attachment/+merge/203051

The attachment creation was broken due to the use of a fields that I have removed "report_config_id"

Could you please merge that fix?

Thank you
-- 
https://code.launchpad.net/~matthieuchoplin/credativ-openerp/ERP-449-fix-when-creating-attachment/+merge/203051
Your team credativ is requested to review the proposed merge of lp:~matthieuchoplin/credativ-openerp/ERP-449-fix-when-creating-attachment into lp:credativ-openerp.
=== modified file 'wms_integration/stock.py'
--- wms_integration/stock.py	2014-01-23 17:07:39 +0000
+++ wms_integration/stock.py	2014-01-24 12:18:25 +0000
@@ -263,9 +263,7 @@
         """
         Version the reports
         """
-        vals = {'report_config_id': ids[0],
-                'name': filename,
-                'res_model': 'report.config',
+        vals = {'name': filename,
                 'datas': file_exported,
                 'datas_fname': filename,
                 'res_id': False}


Follow ups