how can I display x2many (especially one2many) field in qweb? How can I use domain paramaters within qweb?
Edit: More info
I have this class of course batches with the one2many field batch_registrations. I want to be able to display the current registrations of the batch in a qweb report.
class intrac_batches(osv.osv):
_name = 'intrac.batches'
_columns = {
'name': fields.char('Batch Number'),
'batch_course_name': fields.many2one('intrac.courses', 'Course'),
'batch_registrations': fields.one2many('intrac.batches.registrations', 'batch_number', 'Registrations'),
}
intrac_batches()
@Abdullah, Could you provide some more information regarding what you would like to achieve? Regardless you may find the information you need here: https://www.odoo.com/documentation/8.0/
@Luke I edited my original question. I did look in the documentation for this specific topic but didn't find it. Please direct me if you can to the segment in the documentation where it shows how to display one2many fields in QWEB.