Closed github-actions[bot] closed 2 years ago
umoznit uzivatelum mit vlastni vychozi sklad
if "uzivatel" in default:
return default['uzivatel']
https://github.com/UniversalScientificTechnologies/OpenIntranet/blob/7d50de9a76506cf4f84f0dff50aae5d86714d3aa/src/OpenIntranet/plugins/__init__.py#L121
return database.intranet.find_one({"_id": "company_info"}) or {} def get_default_warehouse(database): default = database.intranet.find_one({"_id": "default_warehouse"}) # TODO: umoznit uzivatelum mit vlastni vychozi sklad # if "uzivatel" in default: # return default['uzivatel'] # return default['*'] def get_dpp_params(database): return database.intranet.find_one({"_id": "dpp_params"}) or {}
be6f74ae13d2a0750b52a31e11899552c2dd9631
Tohle je redundantní k #140.
umoznit uzivatelum mit vlastni vychozi sklad
if "uzivatel" in default:
return default['uzivatel']
https://github.com/UniversalScientificTechnologies/OpenIntranet/blob/7d50de9a76506cf4f84f0dff50aae5d86714d3aa/src/OpenIntranet/plugins/__init__.py#L121
be6f74ae13d2a0750b52a31e11899552c2dd9631