[FIX] Fixed Export Icon View And DMS Without Demo Access Group Creation Error

This commit is contained in:
Rohit
2021-03-17 12:35:03 +05:30
parent 969d58f2fc
commit b72e0d66c5
2 changed files with 7 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ class DmsAccessGroups(models.Model):
if "explicit_user_ids" in res and res["explicit_user_ids"]:
res["explicit_user_ids"] = res["explicit_user_ids"] + [self.env.uid]
else:
res["explicit_user_ids"] = [self.env.uid]
res["explicit_user_ids"] = [(6, 0, [self.env.uid])]
return res
@api.depends(

View File

@@ -28,17 +28,21 @@ $gray-lighter: lighten($gray-base, 93.5%);
// Font
$o-root-font-size: 15px;
$o-root-font-family: $theme-root-font-family;
body.o_web_client{
font-size: $o-root-font-size;
}
.o_add_field, .o_remove_field {
font-size: 12px;
}
@if $o-root-font-family == 'google-font'{
@import url("https://fonts.googleapis.com/css?family=#{$backend-google-font}");
body.o_web_client{
font-family: $backend-google-font !important;
font-size: $o-root-font-size !important;
}
}
@if $o-root-font-family != 'google-font'{
body.o_web_client{
font-family: $o-root-font-family !important;
font-size: $o-root-font-size !important;
}
}