Community mailing list archives

community@mail.odoo.com

Re: Line numbering using aeroo report in odoo v8

by
ekoyulianto1007
- 01/21/2016 21:06:16
Well Done...

thank you

On Thu, Jan 21, 2016 at 11:08 PM, Jay Vora <vora.jay@serpentcs.com> wrote:
Gr8, looks a smart code.

On Thu, Jan 21, 2016 at 9:27 PM, Jos De Graeve <jos.degraeve@apertoso.be> wrote:
Hi,

You can try this:

<for each="item in enumerate(o.order_line, start=1)">
<str(item[0])> <item[1].name>
</for>

Regards,

Jos De Graeve - Apertoso business ICT


Guido Gezellelaan 16 - B-9800 Deinze - Belgium
 
mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso

2016-01-21 7:17 GMT+01:00 Eko Yulianto <ekoyulianto1007@gmail.com>:
Thank you for reply

I refer to this code here shared here
http://www.alistek.com/forum/viewtopic.php?f=11&t=365 str(o.order_line.index(line)+1)

my version

<for each="ol in o.order_line">
<str(o.order_line.index(ol)+1)>
</for>
error is 
sale.order.line(16, 17, 18, 19) has no member named "index"



thank you

On Wed, Jan 20, 2016 at 11:52 PM, Jos De Graeve <jos.degraeve@apertoso.be> wrote:
Hi Eko,

Can you elaborate on what you are trying to do ?

What is the code your are using, and which error is produced in v8 ?

Regards,


Jos De Graeve - Apertoso business ICT


Guido Gezellelaan 16 - B-9800 Deinze - Belgium
 
mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso

2016-01-18 22:47 GMT+01:00 Eko Yulianto <ekoyulianto1007@gmail.com>:
Dear Member,

Did anyone has expereince using aeroo report with line numbering in odoo v8.
I used it in v7 and working well, but error in odoo v8

please advise


rgds
eko

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

The Splendid journey of 4 years in Numbers
---
Regards,
----------------------------------------------------------------------------------------------------------------------------
Jay Vora
Managing Director


 
Direct: +91-9879354457
Office: +91-9033472982
Skype: jaynvora
Twitter : jaynvora
   
-------------------------------------------------------------------------------------------------
Visit our website : http://www.serpentcs.com
Please consider the environment before printing this email

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe