novacode-nl / odoo-formio

Odoo Forms app & modules
https://apps.odoo.com/apps/modules/18.0/formio/
Other
69 stars 91 forks source link

[odoo13] formio public form: expiration date isn't working #61

Closed lieblinger closed 3 years ago

lieblinger commented 4 years ago

Public form is ignoring the "Expire After" field. Form is always fillable, also after official expiration date.

Expected behaviour: After expire date reached, form shouldn't accessible anymore.

bobslee commented 4 years ago

Ok, I shall investigate this further. Worked a while ago for Form served from /formio/public/... URL.

However I already stumbled on a subtle bug in the formio.form get_form() function. The search query shouldn't obtain public forms. Shall fix this a.s.a.p.

bobslee commented 3 years ago

Hi @lieblinger, I just tested and works here. Please re-open the issue if the problem still persists, and specify which Odoo and Forms module version.

See the screenshot below for my test with some notes.

Tested with:

image