Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Display line number in ReportLab ?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
linenumberreportlab
3 Răspunsuri
9255 Vizualizări
Imagine profil
anonymous

Hi,

I create a report that displays a list of customers. now how i can display line number ?

N° Name

1 Customer A...

2 Customer B---

3 Customer C...

... ...

Thanks.

1
Imagine profil
Abandonează
Imagine profil
Wolfgang Taferner
Cel mai bun răspuns

Hi Jean,

It is pretty easy...

Use the tags <seqreset id="seq" /> before entering the loop and within the loop use <seq id="seq">.</seq>

Have a nice day!

2
Imagine profil
Abandonează
anonymous
Autor

Thank you its works now .so how to do it from openoffice without touching the rml file?

Wolfgang Taferner

I don't know b/c I am always working directly in ReportLab (RML) as everything else is just a mess and lost in translation...but maybe you can just put these tags in the plain file (text editor instead of open/libre office) too (SXW = Sun XML Writer - http://en.wikipedia.org/wiki/OpenOffice.org_XML). Let me know if it worked for you, then I can edit my answer and add this hint.

Please do not forget to mark my answer correct in order to show other users, that it worked and your question is answered!

Sampath Kumar S

Hi, i tried your answer and it worked for me, when i take the print for first time it came as 1....2...3.. but when i took the print for second time the numbering sequence starts from the number where it stopped in the first print. i.e, if i've 10 customers when i take the print of list of customers for the first time the sequence was 1.2.3.4.5.6.7.8.9.10. properly but when i print the same thing for second time in the print it is starting from 11.12.13.14.15..16.... so am i going wrong anywhere can u please suggest me..Thanks in advance...!!!

Imagine profil
Borni DHIFI
Cel mai bun răspuns

Hi,

in openoffice you can use setTag(‘para’,’xpre’) :

[[ setTag('para','seqreset',{'id':'seq'}) or removeParentNode('para')  ]]

in N° : i think it must pass by rml file : if use <seq id="seq"></seq> then generate a rml file without sxw its display a

&lt;seq id="seq"&gt;&lt;/seq&gt;

In RML, you can't use the characters "<", ">" or "&" inside any display elements such as drawString or para.

rml2pdf-userguide.pdf

1
Imagine profil
Abandonează
SWAS

it is not working in openoffice rml report.

Imagine profil
SWAS
Cel mai bun răspuns

In OpenOffice you can acheive this through Format/Bullet and Numbering, when openoffice convert file sxw to rml then it will convert it "seq" tag.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Number formatting in ReportLab ?
formatting number reportlab
Imagine profil
Imagine profil
1
mar. 15
7547
IS THERE ANY WAY TO STORE THE COMPUTED LINE_IDS VALUE TO A FIELD
line
Imagine profil
Imagine profil
1
mar. 15
264
generate invoice/so/po no.manually
number
Imagine profil
Imagine profil
1
mar. 15
5421
generate invoice/so/po no.manually
number
Imagine profil
Imagine profil
1
mar. 15
5376
Ongoing Number Invoice Odoo
number invoice_number
Imagine profil
0
feb. 19
3673
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now