christopher-ramirez / secretary

Take the power of Jinja2 templates to OpenOffice and LibreOffice.
Other
190 stars 48 forks source link

more cells in the final render of table #64

Closed med1143 closed 6 years ago

med1143 commented 6 years ago

Hi,

I do not understand how I have more cells in the construction of my table ? capture d ecran_2018-03-15_00-26-45

result: capture d ecran_2018-03-15_00-27-18

Can you help me ?

Thank you for your efforts, secretary is so cool !

christopher-ramirez commented 6 years ago

Hello!

Thank you! What I can see from the screenshots is that your are not using an input field for the for loop tag.

Hope this helps

med1143 commented 6 years ago

Thank you for your response.

I modified with input field the for loop but it is the same result !

When i use your example inside my doc, it works. I think that i forget a detail when i contruct my table.

An other idea ?

christopher-ramirez commented 6 years ago

Does the screenshot displays the whole table, or just a part of it?

med1143 commented 6 years ago

It's just part.

I join a odt file in a doc.zip doc.zip

Thank you

christopher-ramirez commented 6 years ago

I took a check on the template. I saw that you repeat the loop logic on the Reference property of the fields. Please clear the reference property since they are not required.

Thank may solve your problem.

med1143 commented 6 years ago

It works, thank you very much and good luck !