Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6110 Widoki

We have an odoo installation on our company server.

This is the backend of our website which is being run by odoo.

Also we have some other custom modules rather than the website that are being offered to customers as a service.

I want to put the source code in a git repository to achieve the following:

We need a way to backup our data existing on server.

Provide a means to revert back to a previous safe point if things went wrong.

work locally on everyone's machine instead of the server while be able to synchronize changes to the server.

separate the testing environment from the development environment.

I have already done the following: the original odoo installation and the custom addons folder were put in a git repo and were pushed to the remote repo, no problem with that.

But when I cloned the repository on another machine, off course the odoo installation didn't work because the original installation was made for another user on another machine and with dependencies stored on the original machine

So I was thinking to put the custom addons folder only under git while keeping the odoo installation outside the repository.

but this will give arise to another problem: the website customization made from the website builder will not be reflected on other machines, am I right?

So please advice what is the best practice to use git in a case similar to mine.

Awatar
Odrzuć
Najlepsza odpowiedź

for the website, i suggest you store all your changes in a module.

Code is always better and more permanent than custom changes on the interface, plus it wouldn't take too much time to just copy from the website editor and make small additions to have the new page and menu working f

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
9
lip 25
64452
how to backup ? Rozwiązane
9
lip 24
97579
1
lip 22
4756
12
cze 24
21325
0
kwi 22
50