Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I updated the code but it generate error in calling `gen_student_attendance_report` function in ther report
Hint : if i remove the table of `gen_student_attendance_report` function the report print successfully
Here is my error :
|except_orm: (u'"gen_student_attendance_report() got multiple values for keyword argument \'context\'" while evaluating\n\'o.gen_student_attendance_report(o.id)\'', (<class 'openerp.addons.base.ir.ir_qweb.QWebException'>, QWebException(ValueError(u'"gen_student_attendance_report() got multiple values for keyword argument \'context\'" while evaluating\n\'o.gen_student_attendance_report(o.id)\'',),), <traceback object at 0x7f3478bd0a28>)) |
Here is my python code :
from openerp.osv import osv,fields
here is my wizard code :
<?xml version="1.0" encoding="UTF-8"?>
and here is my report.xml :
and here is my report tag :
i Hope i find some help :(
Hello John carter,
I faced the same issue before, even I asked that question already.
If you are using parser, for report than it create problem, because it passing wrong doc model.
To get exact model you have to override one method and have to expclitly pass few arguments for for qweb report. Click below link for more information.
Hope this will helps.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/8/15, 8:42 PM|
|Seen: 2158 times|
|Last updated: 4/10/15, 10:45 PM|