mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
Fix wkhtmltopdf report
This commit is contained in:
parent
f4ac664394
commit
dcc56bba1d
2 changed files with 15 additions and 3 deletions
12
README.md
12
README.md
|
@ -28,9 +28,17 @@ Configuration
|
||||||
- Template user: template
|
- Template user: template
|
||||||
- Save
|
- Save
|
||||||
|
|
||||||
**Backup and Restore via Odoo**
|
**Backup via Odoo**
|
||||||
- In YunoHost, open the port 8069
|
- In YunoHost, open the port 8069
|
||||||
- Access Odoo via your server's IP or URL via *:8069* at the end. You can now backup and restore via the web interface
|
- Access Odoo via your server's IP or URL via *:8069* at the end
|
||||||
|
- Go to manage databases and backup
|
||||||
|
|
||||||
|
**Restore via Odoo**
|
||||||
|
- In YunoHost, open the port 8069 (if you haven't opened it already)
|
||||||
|
- Access Odoo via your server's IP or URL via *:8069* at the end
|
||||||
|
- Go to manage databases and delete the old database
|
||||||
|
- Restore
|
||||||
|
- **Important!** The database must be named "*subdomain-domain-tld*" (for example *erp-test-com* if you access the database via *erp.test.com*
|
||||||
|
|
||||||
|
|
||||||
Odoo
|
Odoo
|
||||||
|
|
|
@ -51,7 +51,11 @@ else
|
||||||
sudo apt-get -y -qq install odoo
|
sudo apt-get -y -qq install odoo
|
||||||
|
|
||||||
# Install wkhtmltopdf to print PDF reports
|
# Install wkhtmltopdf to print PDF reports
|
||||||
sudo apt-get -y -qq install wkhtmltopdf
|
sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
|
||||||
|
sudo dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
|
||||||
|
sudo apt-get -y -qq install xfonts-75dpi
|
||||||
|
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
|
||||||
|
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf
|
sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf
|
||||||
|
|
Loading…
Reference in a new issue