Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umoznit uzivatelum mit vlastni vychozi sklad #144

Closed
github-actions bot opened this issue May 7, 2021 · 1 comment
Closed

umoznit uzivatelum mit vlastni vychozi sklad #144

github-actions bot opened this issue May 7, 2021 · 1 comment

Comments

@github-actions
Copy link

github-actions bot commented May 7, 2021

umoznit uzivatelum mit vlastni vychozi sklad

if "uzivatel" in default:

return default['uzivatel']

# TODO: umoznit uzivatelum mit vlastni vychozi sklad

    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

@kaklik
Copy link
Contributor

kaklik commented Oct 28, 2021

Tohle je redundantní k #140.

@kaklik kaklik closed this as completed Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant