Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repos:
additional_dependencies: ['flake8-bugbear']

- repo: https://github.com/agritheory/test_utils
rev: v1.20.0
rev: v1.20.1
hooks:
- id: update_pre_commit_config
- id: validate_frappe_project
Expand Down
1 change: 0 additions & 1 deletion beam/beam/doctype/beam_settings/beam_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"fieldtype": "Column Break"
},
{
"default": "[\"Item\", \"Warehouse\"]",
"fieldname": "auto_barcode_doctypes",
"fieldtype": "JSON",
"hidden": 1,
Expand Down
1 change: 1 addition & 0 deletions beam/beam/doctype/beam_settings/beam_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class BEAMSettings(Document):
def create_beam_settings(company: str) -> str:
beams = frappe.new_doc("BEAM Settings")
beams.company = company
beams.auto_barcode_doctypes = '["Item", "Warehouse"]'
beams.save()
return beams

Expand Down
Loading