Skip to content

[14.0]No more possible to print report #17

Open

Description

@flotho

because of render method that is no more public :

OCA/odoorpc#65
odoo/odoo#78528

Activity

  1. bwilmus commented on Oct 19, 2021

    @bwilmus

    What is the solution ? Create an Odoo module with a function that will call the private print function from a public function ?

  2. flotho commented on Oct 19, 2021

    @flotho
    Author

    What is the solution ? Create an Odoo module with a function that will call the private print function from a public function ?

    this is actually the fastest wy to do this but the proper way should be to user http controller and routing and pass the csrf token to be able to DL the pdf thanks to report/download routes

  3. bwilmus commented on Oct 19, 2021

    @bwilmus

    Proper way sounds good but if it needs a lot of time and ressources, the fast way is the right option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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