Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3617 Weergaven

i know it is not recommended to make changes directly to already existing modules, but I made a quite simple miner change which I'm sure it won't affect the rest of the system. 

now the problem I'm facing is pushing those changes to production, I would be grateful if anyone can walk me through the steps of properly pushing changes into the GitHub from shell and the commands needed. 

 

for example, I followed the steps:

I made changes into survey, so I went into 

cd  src
cd odoo
cd addons

and after that tried pushing survey all together:

 git add survey
git push https HEAD:main

and here is where i get stuck and no updates happen and i have no idea how to fix this or to push the changes. 


Avatar
Annuleer
Beste antwoord

Odoo.sh production mount odoo and enterprise in read only mode. So your change would be impossible in this way. Depending on the case: if it is a big fix, you can submit a request at odoo.com/help, if it is an improvement you can make a custom submodule and inherit the module that you would like to override the behavior (note that Odoo's have it's own system of inheritance different from the python one) 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 23
2956
0
okt. 22
4259
3
jul. 18
14044
0
mrt. 23
1983
1
jul. 25
1865