Yogesh(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/addons-training-exam-wizard-fix-ysa into 
lp:~openobject-training/openobject-addons/training.

Requested reviews:
  OpenObject Training (openobject-training)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/addons-training-exam-wizard-fix-ysa/+merge/56900

[FIX] training_exam :- use errors attribute instead of write method in 
log_object.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/addons-training-exam-wizard-fix-ysa/+merge/56900
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/addons-training-exam-wizard-fix-ysa.
=== modified file 'training_exam/wizard/training_seance_generate.py'
--- training_exam/wizard/training_seance_generate.py	2011-03-22 08:49:13 +0000
+++ training_exam/wizard/training_seance_generate.py	2011-04-08 09:11:34 +0000
@@ -62,7 +62,7 @@
             if obj.exams_report:
                 for i, part in enumerate(seance.participant_ids):
                     if part.exam_id.forced_noquestionnaire:
-                        log.write('ignored participation %d because related exam is marked as: forced no questionnaire\n' % (part.id))
+                        log.errors ='ignored participation %d because related exam is marked as: forced no questionnaire\n' % (part.id)
                         continue
                     try:
                         res = self._get_report(cr, uid, part.id, 'report.training.participation.report',

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

Reply via email to