lotemplate
lotemplate copied to clipboard
[BUG] too_many_endif that should not arrive
Describe the bug
On the scan phase, the following odt file returns a "too_many_endif" error.
Test
[if $odoo(coop_forme_juridique) == SAS] [for $odoo(mandataires_sas)] [if [foritem type] == PP] [foritem nom], [foritem titre] ; [endif] [endfor]
[endif]
To Reproduce
- send the previous file as a template
- look a the response
Expected behavior
The template is valid, it should be ok after the scan
Actual behavior
the program returns "too_many_endif"
System information
Debian
Version
1.5.2
Additional context
No response