Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3448 Zobrazení

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
Zrušit
Nejlepší odpověď

use section in sxw file

Avatar
Zrušit
Autor

How can you explain it...

Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
3568
9
dub 20
8387
2
úno 19
6263
2
kvě 18
8448
4
dub 18
17732