Odoo Help


ERROR printing report OpenERP OpenOffice writer : name l is not defined?

kais dkhili
on 6/6/14, 12:56 PM 1,172 views

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):
    _rec_name = 'titreContrat'
    _columns = {
        'lst_termes':fields.one2many('terme','id_contrat_comm','Liste des termes'),

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/6/14, 12:56 PM
Seen: 1172 times
Last updated: 3/16/15, 8:10 AM