跳至內容
選單
此問題已被標幟
1 回覆
3503 瀏覽次數

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
3月 15
3615
9
4月 20
8420
2
2月 19
6304
2
5月 18
8471
4
4月 18
17773