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

[10.0] fixed error when we're launch new instance (clients) #411

Open
wants to merge 3 commits into
base: 10.0
Choose a base branch
from

Conversation

kins-thanhnguyen
Copy link

fixed error web browse can not login, and after login, browse is blank (because saas_client/../saas_client.js use openerp.function (params old version)
fixed bug when we're create new instance , the same copy filestore

Copy link
Contributor

@yelizariev yelizariev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that template creation doesn't work

if len(parent_paths) > 1:
parent_path = parent_paths[0]
new_db_filstore_path = parent_path + new_db
copy_tree(path_file_store, new_db_filstore_path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error on runbot. Have you tried to create template with new code? I guess you need to move this block below in else block, i.e. copy filestore only for non-template db

@kins-thanhnguyen
Copy link
Author

i think the first when we're create template have not filestore and will show error, i try catch for passing the first create database

@yelizariev
Copy link
Contributor

It's better to avoid using try block whenever it's possible. So, could you move the code under else block as I suggested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants