Skip to content

sign_oca: ERR_TOO_MANY_REDIRECTS #146

@lbarry-apsl

Description

@lbarry-apsl

Bug report — sign_oca — ERR_TOO_MANY_REDIRECTS

Module

sign_oca

Describe the bug

When accessing a portal signing page in Odoo 17, the module enters an infinite redirect loop when loading frontend assets. The browser console shows: ERR_TOO_MANY_REDIRECTS

Additionally, assets such as sign_oca_sign_assets.min.js fail to load, and the PDF signing iframe cannot initialize required JS functions.

This results in:

  • signing page failing to load
  • iframe not rendering fields
  • console errors
  • portal unusable

To Reproduce

Affected versions

Odoo 17.0
sign_oca latest version

Steps to reproduce

  1. Install sign_oca on Odoo 17
  2. Publish a signing document and open the public/portal link
  3. Open browser console and network tab
  4. Observe redirect loop errors and missing JS assets

Expected behavior

The signing page should load correctly, PDF iframe fields should render, and assets should load without redirect loops.


Actual behavior

Redirect error

GET /sign_oca_pdf_common ...


Additional context

  • Odoo version: 17.0
  • Browser: Chrome
  • OS: Linux
  • @http.route(..., auth="public") used
  • Issue seems related to asset routing + public access

Conclusion

sign_oca appears not to fully support Odoo 17 portal/public rendering of signing PDFs, causing asset redirect loops and frontend errors.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions