[FIX] web: remove white spaces in ttf file names
Since ed18095127, some google fonts are included. The "Open Sans" fonts
prevents RPM packaging to work because of white spaces in file names. This
is a Python setuptools bug (https://bugs.python.org/issue809163) which is
not yet fixed.
With this commit, the "Open Sans" directory and ttf files are renamed
into "Open_Sans", solving the packaging problem.
closes odoo/odoo#35661
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
@@ -85,7 +85,7 @@ $google-font-path: '../fonts/google';
|
||||
}
|
||||
|
||||
@include google-font-pair('Montserrat');
|
||||
@include google-font-pair('Open Sans');
|
||||
@include google-font-pair('Open_Sans');
|
||||
@include google-font-pair('Oswald');
|
||||
@include google-font-pair('Raleway');
|
||||
@include google-font-pair('Roboto');
|
||||
|
||||
@@ -94,7 +94,7 @@ class Company(models.Model):
|
||||
base_onboarding_company_state = fields.Selection([
|
||||
('not_done', "Not done"), ('just_done', "Just done"), ('done', "Done")], string="State of the onboarding company step", default='not_done')
|
||||
favicon = fields.Binary(string="Company Favicon", help="This field holds the image used to display a favicon for a given company.", default=_get_default_favicon)
|
||||
font = fields.Selection([("Lato", "Lato"), ("Roboto", "Roboto"), ("Open Sans", "Open Sans"), ("Montserrat", "Montserrat"), ("Oswald", "Oswald"), ("Raleway", "Raleway")], default="Lato")
|
||||
font = fields.Selection([("Lato", "Lato"), ("Roboto", "Roboto"), ("Open_Sans", "Open Sans"), ("Montserrat", "Montserrat"), ("Oswald", "Oswald"), ("Raleway", "Raleway")], default="Lato")
|
||||
primary_color = fields.Char()
|
||||
secondary_color = fields.Char()
|
||||
_sql_constraints = [
|
||||
|
||||
Reference in New Issue
Block a user