# Deploy tryton with Docker question

**URL:** https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768
**Category:** Developer
**Tags:** docker
**Created:** [May 25, 2020, 2:40pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768 "2020-05-25T14:40:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)
#### Post date: [May 25, 2020, 2:40pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768/1 "2020-05-25T14:40:11Z")

</div>

Hi @ced,

I just finished watching the Youtube from you about how to deploy tryton with docker.  
[Deploying Tryton with Docker by Cédric Krier](https://www.youtube.com/watch?v=S1JmgNbNeeo)

I am interesting about to deploy to client with only one folder and all module inside the folder.  
At the video time 13:20 … I notice when creating “view” still reside to the root folder.

My question, it is possible to put the view into respective folder. Such as, you create forlder “party\_custom”. I would like to put the view inside “party\_custom/view/party\_form.xml”.

Please advice

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 25, 2020, 3:03pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768/2 "2020-05-25T15:03:34Z")

</div>

> [@bala4901](#):
>
> My question, it is possible to put the view into respective folder. Such as, you create forlder “party\_custom”. I would like to put the view inside “party\_custom/view/party\_form.xml”.

No because the server always loads the views from the view folder.

But it should be possible to read the xml from `view/party_custom/party_form.xml` if you set `party_custom/party_form.xml` in the view\_name.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 25, 2020, 3:54pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768/3 "2020-05-25T15:54:34Z")

</div>

Not sure it is a good idea to put `/` in the view name because the path separator could be something else on other OS. It is probably better to prefix with `_`.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 25, 2020, 4:15pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768/4 "2020-05-25T16:15:18Z")

</div>

> [@ced](#):
>
> Not sure it is a good idea to put `/` in the view name because the path separator could be something else on other OS. It is probably better to prefix with `_` .

The same is used on report names.  
So to make it work correctly we should probably manage the path separator on file\_open.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 25, 2020, 4:18pm UTC](https://discuss.tryton.org/t/deploy-tryton-with-docker-question/2768/5 "2020-05-25T16:18:49Z")

</div>

> [@pokoli](#):
>
> So to make it work correctly we should probably manage the path separator on file\_open.

I do not think.`file_open` expect to receive a path so it can not replace arbitrary char.  
But `ir.ui.view` could do the same as `ir.action.report` by replacing `/` for `os.sep`.
