This commit is contained in:
Janik von Rotz committed 2020-10-05 15:08:52 +02:00
1 parent 3c7652bbbd
commit 549a375ffe
7 files changed
+77 -37

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
{
"theme": "moonstone",
"theme": "obsidian",
"pluginEnabledStatus": {
"file-explorer": true,
"global-search": true,
@@ -9,6 +9,6 @@
"command-palette": true,
"markdown-importer": true,
"word-count": true,
"slides": true
"custom-css": true
}
}
+18 -23
View File
@@ -1,16 +1,16 @@
{
"main": {
"id": "5c9b4bcddee447f0",
"id": "61ddca96d9a506fc",
"type": "split",
"children": [
{
"id": "6deb7ea085c7ba82",
"id": "ab9575c47a268bd0",
"type": "leaf",
"active": true,
"state": {
"type": "markdown",
"state": {
"file": "Mint System und Odoo.md",
"file": "Odoo Development Environment.md",
"mode": "source"
}
}
@@ -19,15 +19,15 @@
"direction": "vertical"
},
"left": {
"id": "572f6332dc0a6fb8",
"id": "f6348999b802f9f8",
"type": "split",
"children": [
{
"id": "1867ebb09af17a5c",
"id": "549efa6cbdce2208",
"type": "tabs",
"children": [
{
"id": "9fdd87ee08a19d1b",
"id": "b75df16230874234",
"type": "leaf",
"state": {
"type": "file-explorer",
@@ -35,12 +35,12 @@
}
},
{
"id": "5ed0ef41546f0ef9",
"id": "8ec2a107e9a30949",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": ""
"query": "cache"
}
}
}
@@ -49,24 +49,23 @@
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
"width": 560
},
"right": {
"id": "62901fbab63c2351",
"id": "bb2587051aed61d3",
"type": "split",
"children": [
{
"id": "b4720d30e70b00be",
"id": "eee6ffb878b1f508",
"type": "tabs",
"children": [
{
"id": "dfee001eaef2c27d",
"id": "5275b623141d887c",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "Mint System und Odoo.md"
"file": "Odoo Development Environment.md"
}
}
}
@@ -77,15 +76,11 @@
"width": 300
},
"lastOpenFiles": [
"Mint System und Odoo.md",
"Odoo Marketing.md",
"Lokalisierung.md",
"Odoo Enterprise.md",
"Odoo Community Association.md",
"Odoo Development Environment.md",
"Odoo Migration - Worklog.md",
"Slides.md",
"Odoo.md",
"Demoumgebungen.md"
"Odoo Shell.md",
"Prozesse Finanzen - Personalabrechnung.md",
"Prozesse Finanzen - Buchhaltung.md",
"Prozesse Finanzen - Eingangsrechnungen.md",
"Ansible Playbooks.md"
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
# Ansible Playbooks
y§# Ansible Playbooks
Collection of ansible playbooks and roles.
Page: https://github.com/Mint-System/Ansible-Playbooks
+29 -9
View File
@@ -1,17 +1,21 @@
# Odoo Development Environment
## Extend database expiration
[[Odoo Shell]]
## Recipies
### Extend database expiration
Navigate to *Settings > Technical > System Parameters* and update the expiration date for the database.
## Uninstall apps from the command line
### Uninstall apps from the command line
Inside the docker container run this command to uninstall the web_enterprise module for database odoo:
`"self.env['ir.module.module'].search([('name', '=', 'web_enterprise')]).button_immediate_uninstall()" |
odoo shell -d odoo --db_host=$HOST -r $USER -w $PASSWORD`
## Enable/disable Odoo Enterprise
### Enable/disable Odoo Enterprise
**Enable**
@@ -39,11 +43,11 @@ If the following line appears the installation has been successful:
`INFO erp odoo.modules.registry: module web_enterprise: creating or updating database tables`
*Disable*
**Disable**
Uninstall the web_enterprise module.
## Hide brand promotion message
### Hide brand promotion message
In developer mode open the views overview via settings. Search for web.brand_promotion_message, open it and click on edit.
@@ -53,11 +57,11 @@ Comment the code that is showing the brand promotion message.
Note: This change will be lost, once the view is updated.
## Odoo Migration
### Odoo Migration
See the [[Odoo Migration - Worklog]]
## Datenbankmanager deaktivieren
### Datenbankmanager deaktivieren
Der Datenbankmanager kann nach Bedarf deaktiviert werden. Möchte man beispielsweise eine Odoo Installation für mehrere Kunden bereitstellen und vermeiden, dass diese die Datenbank des jeweils anderen im Login-Fenster sehen, kann man die Auflistung der Datenbank deaktivieren.
@@ -65,7 +69,7 @@ Dazu muss in der `odoo.conf` Datei der foglende Eintrag gemacht werden: `list_db
Ist diese Option eingeschaltet, kann eine Datenbank-Auswahl nur noch über Url erfolgten. Beispielsweise ruft der folgende Link die Odoo Login-Maske auf (sofern ausgeloggt) und selektiert die Datebank "Test": https://odoo.example.com/web/?db=Test. Ist der Datenbankmanager deaktiviert, sieht der Benutzer nur das Benutzername- und Passwortfeld.
## Install apps from the commandline
### Install apps from the commandline
Assuming that the development environment is up and running, proceed as followed.
@@ -81,4 +85,20 @@ CONTAINER=odoo01
Inall the modules with this command:
`docker exec -it $CONTAINER bin/bash -c "odoo -i $MODULES -c /etc/odoo/odoo.conf -d $DATABASE --db_host \$HOST -r \$USER -w \$PASSWORD --stop-after-init" && docker restart $CONTAINER`
`docker exec -it $CONTAINER bin/bash -c "odoo -i $MODULES -c /etc/odoo/odoo.conf -d $DATABASE --db_host \$HOST -r \$USER -w \$PASSWORD --stop-after-init" && docker restart $CONTAINER`
## Regenerate assets from psql
Log into database with psql:
```bash
psql postgres://$USER:$PASSWORD@$HOST/$DATABASE
```
Run this query for the database:
```sql
select id,name from ir_attachment where res_model='ir.ui.view' and name like '%assets_%';
delete from ir_attachment where res_model='ir.ui.view' and name like %assets_%;
```
+16
View File
@@ -0,0 +1,16 @@
# Odoo Shell
## Commands
Log into Docker Container.
`docker exec -it odoo01 bin/bash`
Start Odoo Shell.
`odoo shell -d $DATABASE --db_host $HOST -r $USER -w $PASSWORD`
Clear assets.
```python
domain = [('res_model', '=', 'ir.ui.view'), ('name', 'like', 'assets_')]
env['ir.attachment'].search(domain).unlink()
env.cr.commit()
```
+5 -1
View File
@@ -6,4 +6,8 @@ Lieferantenrechnungen verbuchen.
Arbeitsschritte:
* Rechnungs-PDF hochladen und digitalisieren
* Aufwandskonto auswählen
* Mehrwertsteuer entfernen, wenn Saldoberechnung
* Mehrwertsteuer entfernen, wenn Saldoberechnung
* Konto-Daten dem Kontakt hinterlegen
## Zahlung generieren
+6 -1
View File
@@ -36,4 +36,9 @@ Arbeitsschritte:
* Lohnstruktur auswählen
* Klick auf *Create Draft Entry*
* Review Buchhaluntssätze *Tab Buchungsinformationen > Buchung*
* Buchung Bestätigen
* Buchung Bestätigen
## Lohnzahlungen verbuchen
Arbeitsschritte:
*