تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3452 أدوات العرض

class subject(osv.osv):
    _name = 'subject'
    _columns = {
        'name':fields.char('Subject', size=20),
        'subject_mark': fields.float('Subject Mark'),
    }
subject()

class mark_details(osv.osv):
    _name = 'subject'
    _columns = {
        'subject_mark':fields.one2many('subject','name','Subject and Marks'),
    }
mark_details()

i need a report with one2many subject_mark, subject are ceated by user manualy like English, Maths, Science and etc subjects, what ever these subject are added by the paticular student, this subjects will come on the report header, how to do this.

 

i need a report to this format:

student name                          English            Maths               Science               New subjects

Sridhar                                        50                   50                     50                         50

الصورة الرمزية
إهمال
أفضل إجابة

use section in sxw file

الصورة الرمزية
إهمال
الكاتب

How can you explain it...

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3569
9
أبريل 20
8390
2
فبراير 19
6264
2
مايو 18
8454
4
أبريل 18
17741