mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2025-02-25 18:55:21 -06:00
[FIX] Fixed Export Icon View And DMS Without Demo Access Group Creation Error
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user