Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5237 Näkymät

I want to print some fields in res.partner table.

I first create an .odt file. With customer name as < o.name > simply.

And i have a one2many field in res.partner table named x_counter. It contains 5 fields. I want to print all the fields in one2many. How can i implement it?

Is this code correct : < o.x_countertable.field1 > But it shows error. What will i do?

For example: if model is res.partner

Then we refer name field as < o.name > in the aeroo report.

I have another one2many field in res.partner

It contains 5 fields.

I want to print all the fields with customer name. How can i wrote the code in report?

ie, < newobject in res.partner.field name >

That is my doubt.

Any one knows?

Avatar
Hylkää

I also want to know that.

Please check the file shared on: https://drive.google.com/file/d/0B6HUUqM84U0MWnRxOTM0Mno5T1E/edit?usp=sharing

It is an aeroo template for invoice report.

Tekijä

@Akram. I saw ur report. In this O denotes the object right!. But i have a different object how can i add that object in the place of O?

Tekijä

@Akram. Please refer my updated question.

Tekijä Paras vastaus

Code is <for each="line in o.one2many field in res.partner table">

<line.fieldname in="" one2many="" field.columnname="">

</for>

Avatar
Hylkää

Thats good. :)

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
syysk. 17
6039
0
maalisk. 15
3356
1
toukok. 17
14674
0
syysk. 15
3978
1
maalisk. 15
5996