Odoo Help


how can i add a row number on a list of products (quotation order) openerp 7

on 2/10/15, 6:01 AM 2,080 views

Hi, i am pretty new at openerp 7, so i feel really lost, i just want to add a field wich indicates the line number from a list of products, at the moment i dont care if it isnt in the system, i just need to show it on the pdf (even manually before printing), i already customized my report using the openoffice plugin, so that's all i know.

something like this:

item | code | product




and again, i am just asking for the simplest way to do it, i tried adding a new field and edit it (typing the numbers) before printing but ended with 2 descriptions fields with the same content

thanks for reading my bad engish question.


You should be able to do this with a t-for-each loop using t-as. I'm not so familiar with version 7.0, however in version 8.0 you should just be able to add some very simple python logic for the loop that adds +1 to a variable and then prints that variable each time it runs through the loop.

I think this could probably be answered better by someone with more experience with Odoo and version 7 in particular, however doing this in python is quite simple.

Alternatively you may want to refer to some of the following links:
https://www.odoo.com/forum/help-1/question/how-can-i-add-an-increasing-line-number-in-the-first-column-of-my-invoice-line-59475 https://www.odoo.com/forum/help-1/question/solved-how-to-add-record-number-in-reports-53926

Luke Branch
on 2/10/15, 6:19 AM

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: 2/10/15, 6:01 AM
Seen: 2080 times
Last updated: 3/16/15, 8:10 AM