Odoo Help

Welcome!

This community 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.

5

Doubt when creating report using aeroo report in Openerp7(Adding Inherit fields)

By
Remya
on 12/19/13, 5:44 AM 1,451 views

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?

I also want to know that.

rosey
on 12/19/13, 6:00 AM

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

It is an aeroo template for invoice report.

akram
on 12/20/13, 12:47 AM

@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?

Remya
on 12/20/13, 1:15 AM

@Akram. Please refer my updated question.

Remya
on 12/20/13, 1:22 AM
5

Remya

--Remya--
5813
| 7 8 8
Thiruvananthapuram, India
--Remya--

Working as an Senior ODOO developer. http://in.linkedin.com/pub/remya-r/69/a23/298

Remya
On 12/21/13, 2:50 AM

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

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

</for>

Thats good. :)

akram
on 12/21/13, 1:58 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/19/13, 5:44 AM
Seen: 1451 times
Last updated: 3/16/15, 8:10 AM