fix set all_patches and installed_apps before running after install
This commit is contained in:
parent
c71bdcc7a1
commit
dbc2108b0f
1 changed files with 3 additions and 2 deletions
|
|
@ -103,11 +103,12 @@ def install_app(name, verbose=False):
|
|||
|
||||
sync_for(name, force=True, sync_everything=True, verbose=verbose)
|
||||
|
||||
add_to_installed_apps(name)
|
||||
set_all_patches_as_completed(name)
|
||||
|
||||
for after_install in app_hooks.after_install or []:
|
||||
webnotes.get_attr(after_install)()
|
||||
|
||||
set_all_patches_as_completed(name)
|
||||
add_to_installed_apps(name)
|
||||
|
||||
webnotes.flags.in_install_app = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue