fixup! [12.0][PORT] server_environment. port static files controllers from server-tools 8.0 branch

This commit is contained in:
Sylvain LE GAL 2020-05-20 21:21:47 +02:00
parent 553d572887
commit 5433d70dec
1 changed files with 10 additions and 2 deletions

View File

@ -99,7 +99,9 @@ This module provides also the possibility to load static files depending
on the environment.
Create a file view/templates.xml, and insert a css file
::
```
<odoo>
<template id="login_layout_no_db" name="Login Layout"
inherit_id="web.login_layout" >
@ -109,8 +111,14 @@ Create a file view/templates.xml, and insert a css file
</xpath>
</template>
</odoo>
```
Then, create css files for each environment you have. exemple:
::
```
/server_environment_files/static/dev/css.css
/server_environment_files/static/prod/css.css
...
```