Script zum Anlegen von Feldern aktualisiert
@@ -1,12 +1,9 @@
|
|||||||
```bash
|
```bash
|
||||||
|
|
||||||
bench --site xxx console
|
bench --site xxx console
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
fields = [
|
fields = [
|
||||||
@@ -51,5 +48,4 @@ for field in fields:
|
|||||||
|
|
||||||
frappe.db.commit()
|
frappe.db.commit()
|
||||||
print("\n=== Alle Felder verarbeitet ===")
|
print("\n=== Alle Felder verarbeitet ===")
|
||||||
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user