Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4020 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

use section in sxw file

Avatar
Abbandona
Autore

How can you explain it...

Post correlati Risposte Visualizzazioni Attività
0
mar 15
4107
9
apr 20
8840
2
feb 19
6763
2
mag 18
8998
4
apr 18
18300