lotemplate icon indicating copy to clipboard operation
lotemplate copied to clipboard

[BUG] too_many_endif that should not arrive

Open philippe-levan opened this issue 3 months ago • 0 comments

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

  1. send the previous file as a template
  2. 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

philippe-levan avatar Apr 12 '24 15:04 philippe-levan