[ADD] base: explicit rtlcss configuration

Changes in default can be bothersome, embed a full baseline
configuration for reliability.

closes odoo/odoo#27926

Signed-off-by: Pierre Masereel <pim@odoo.com>
Arnaud Baes 2023-07-04 10:25:09 +02:00
parent 6cf3b617d8
commit ee1a717684
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist": {
"rtlcss": {
"config": true,
"options": true
}
},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap": [],
"useCalc": false,
"aliases": {},
"processEnv": false
},
"plugins": [],
"map": false
}

View File

@ -854,8 +854,8 @@ class AssetsBundle(object):
rtlcss = misc.find_in_path('rtlcss.cmd')
except IOError:
rtlcss = 'rtlcss'
cmd = [rtlcss, '-']
cmd = [rtlcss, '-c', get_resource_path("base", "data/rtlcss.json"), '-']
try:
rtlcss = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)