i want to print report with OpenERP and Open Office Writer: i try with this simple rml to test the origin of the error :
[[ repeatIn(objects,'l') ]]
[[ l.date_contrat ]]
[[ repeatIn(l.lst_termes,'lst_termes') ]]
[[ lst_termes.descriptionterme ]]
i dont know why the origin of the error : object l is not defined. please someone help me. i want to say tha this is the relation between contrat and terme
class contratcommercial(osv.osv):
_name='contratcommercial'
_inherit='contrat'
_rec_name = 'titreContrat'
_columns = {
'id_partenaire_commercial':fields.many2one('commercial','Commercial'),
'lst_termes':fields.one2many('terme','id_contrat_comm','Liste des termes'),
}
contratcommercial()