[FIX] web, *: clean manifests assets

Some glob are more complex than they should.

Since `**` matches no/one or many directories, the use of /**/**/ is
the same as /**/.

Since **.js is similar to *.js except if you except to have a js file in
a directory ending with js. Moreover ** will match any directory
recursively before a js file.

closes odoo/odoo#120880

Related: odoo/enterprise#40842
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
Xavier-Do
2023-05-09 15:40:59 +02:00
parent 8d62af3937
commit 5d3601066e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ This module provides the core of the Odoo Web Client.
'web._assets_primary_variables': [
'web/static/src/scss/primary_variables.scss',
'web/static/src/**/**/*.variables.scss',
'web/static/src/**/*.variables.scss',
'base/static/src/scss/onboarding.variables.scss',
],
'web._assets_secondary_variables': [
@@ -18,7 +18,7 @@ Use the e-commerce to sell your event booths.
'/website_event_booth_sale/static/src/js/booth_register.js',
],
'web.assets_tests': [
'/website_event_booth_sale/static/tests/tours/**/**.js'
'/website_event_booth_sale/static/tests/tours/**/*.js'
],
},
'license': 'LGPL-3',