Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2661 Vizualizări

I try to make all odoo development process by code-base.

When you create Ruby on Rails app, you would use migration feature and CI/CD tool and git.

In this example, all the process should be code-base.

When you deal with Odoo project, what should I do?

I remember Odoo has install base applications. So I wonder how to manage applications by code.

Thanks in advance.

Imagine profil
Abandonează

Can you please elaborate more about this?

Autor Cel mai bun răspuns

Hi, thank you for the detailed answer.
Moreover, I'd like to manage packages like email marketing app by codebase.
It's something like Gemfile on Ruby on Rails. Is that possible?
And is there any migration system on Postgres?
All these procedures are necessary for continuous development.

All the best

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Noriaki-san,

I assume that you are trying to run odoo with the source code? If thats correct, you are first need to download the odoo "source" file from cloning the github repository or from the odoo official website.

after that, you can install postgresql into your machine. for best development, you can use unix-based operating system like macintosh or linux. create a new database into that postgresql and set the new postgresql account which later will be connected to odoo that will be responsible to write data from into database. you can access the psql and enter this command to create odoo user account in the postgresql

CREATE USER community17 WITH PASSWORD ‘community17’;

ALTER USER community17 WITH SUPERUSER;

ALTER USER community17 WITH CREATEROLE;

ALTER USER community17 WITH CREATEDB;

ALTER ROLE community17 VALID UNTIL 'infinity';



Once the odoo file are downloaded, from your terminal you can get into the odoo folder and run using this command :

python3 odoo-bin --addons-path addons, -r community17 -w community17

From here, you can begin your development. Odoo works modularly, that means all the customization you made is recommended by creating custom module which will be loaded into the odoo. in order to add your custom module, you can create a new folder into the same odoo folder project and add a command into the command above such as 

python3 odoo-bin --addons-path addons,custom_module/ -r community17 -w community17

The explanation above is just a brief step on how to do development of Odoo, for more details you can watch this video on youtube :

Odoo Development Tutorial

I personally use the method from the link above to create my development :)

Hope this helpful, best regards,

Altela (altelasoftware.com)

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 25
3126
1
iul. 25
1324
1
aug. 25
1152
0
mai 25
1738
2
apr. 25
3937