Skip to content

Commit

Permalink
Update odoo docs to fix printing/pdf
Browse files Browse the repository at this point in the history
add information about a required system parameter (report.url ) so that pdf generation inside the container works like expected
  • Loading branch information
adnoh authored Jan 10, 2025
1 parent ac14dca commit 22d64eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions odoo/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,14 @@ By default, Odoo 16.0+ uses a filestore (located at `/var/lib/odoo/filestore/`)
```console
$ docker run --volumes-from old-odoo -p 8070:8069 --name new-odoo --link db:db -t %%IMAGE%%
```

# Required Settings when running inside a container

## Reports like invoices and offers are formatted wrong in print or PDF
define a report.url key = http://0.0.0.0:8069 in settings/Technical/Systems parameters/parameters

Aktivate developer mode by appending
```
/web?debug=assets
```
to the url if you dont find the System parameters

0 comments on commit 22d64eb

Please sign in to comment.