İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5856 Görünümler

Hi,

I create, actually, a custom invoice but I have a problem :/

My invoice is create and I think it's perfect but when I add this line : repeatIn(o.move_lines,'line') between one tab : description / Tax / Quantity / Unit Price / Price and this tab : different element.

Without "repeatIn(o.move_lines,'line')", my invoice is good but I haven't all lines in my invoice. With "repeatIn(o.move_lines,'line')" I have the error in object.

It's possible to have an idea of my error?

Thanks all

Avatar
Vazgeç
En İyi Yanıt

Hi,

The error because there is no any 'o' define in your code or 'o' define out of scope. Check your code like <para>[[repeatIn(objects,'o')]]</para> defined with object 'o'....

Thanks...

Avatar
Vazgeç
Üretici En İyi Yanıt

I put this line in first.

<para style="Table Contents">[[ repeatIn(objects,'o') ]][[ setLang(o.partner_id.lang) ]]</para>

Is it correct?

I work with openoffice. My problem wasn't resolve :/

Sorry.

Avatar
Vazgeç

Hello, Can you please try this one.... <para style="terp_default_8">[[ repeatIn(objects,'o') ]]</para> <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para>

Üretici

I don"t know how change this with openoffice :/

hey , you need only to define in top like : [[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] ... You can refer :/account/report/account_print_overdue.rml and related sxw file....