[FIX] odoo100, odoo110: Pin less version since that odoo doesn't support newer - vx#13817
Customer using 10.0 reported the following error:
Another customer in 11.0
Checking old version vs new on in odoo-11.0:
docker run -it --rm vauxoo/odoo-110-image npm -g list |grep less
├─┬ less@4.1.1
├─┬ less-plugin-clean-css@1.5.1
│ ├── caseless@0.11.0
docker run -it --rm vauxoo/odoo-110-image:wk_0_12_4 npm -g list |grep less
├─┬ less@3.12.2
├─┬ less-plugin-clean-css@1.5.1
│ ├── caseless@0.11.0
Same for odoo-10.0:
docker run -it --rm vauxoo/odoo-100-image:wk_0_12_4 npm -g list |grep less
├─┬ less@3.11.3
│ │ ├── caseless@0.12.0
├─┬ less-plugin-clean-css@1.5.1
│ ├── caseless@0.11.0
docker run -it --rm vauxoo/odoo-100-image npm -g list |grep less
├─┬ less@4.1.1
├─┬ less-plugin-clean-css@1.5.1
│ ├── caseless@0.11.0
It looks like less >= 4.0.0 issue
So, pinning the version compatible to fix the issue is a good idea for this case