Skip to content

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

@yelizariev yelizariev Nov 29, 2016

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.

3 participants