GithubHelp home page GithubHelp logo

yuntux / odoo-production Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awesomefoodcoops/odoo-production

0.0 2.0 0.0 140.49 MB

Python 52.71% CSS 7.78% HTML 1.09% JavaScript 30.88% Makefile 0.10% Batchfile 0.06% Ruby 0.01% Shell 0.10% Vim Script 0.01% Mako 0.01% Java 7.17% XSLT 0.04% NSIS 0.07%

odoo-production's Introduction

Odoo mutualization

That repository aims to handle a commom Odoo code for the food coops that take part in the mutualization (and found it). Our code if free, so that coops don't want to fit in the previsous rules can freely fork this Github repository. However, we higly encourage then to not fork the common modules. In that case it would be very difficult for them to entrer in the mutualization in the future.

Repository organization

For maintenability purpose, all the coop have to use the same version of commun module. Thos modules are in odoo, extrat_addons and coop_addons folders. In addition, each coop has a dedicated folder where she can build custom modules. Those modules don't have to make conflict with the common modules.

Changes proposal on common modules

The main collaboration process is quite simple. However, we have to experience it in order to imporve it :

  • If someone want to change common module, make a PR against the dev branch. The repo management team will challenge it and if it's good, merge it. Do not forbid migration scripts.
  • If someone want to build a custom module, make a PR against the dev branch. The repo management team will merge in whintin 2 days. You will get it on the production/9.0 branch on the next dev->9.0 merge (ask if its urgent).

For consistency reason, we prefer to ask to or dev supplier to make the modifications on common modules.

Upgrading process

Step A : on the DEV environnement

=> Developper for or repo and creates a branch from our 9.0 (production) branch => Developper commit changes on his own repo => Developper make a PR to the DEV branch : he adds to the description :

  • a link to the ticket (and he adds the link of the PR to the ticket)
  • the module name we have to update
  • the module name we have to install He adds the PR link to the TMS ticket.

=> The repo management team checks the code, and merge the PR against DEV branch

=> The hosting team update the code on staging instance, restore the lastest nighly DB copy, install/uninstall/update module dans execute migration scripts. They set the ticket to "on dev" status and send a message to users to describe the changes (basicly a screenshot of the ticket list that have be solved).

Step B : on the PROD environnement

Once the test are conpleted, the repo management team merge DEV -> 9.0 (production branch).

=> The hosting team update the code on staging instance, install/uninstall/update module dans execute migration scripts. They set the ticket to "on prod" status and send a message to users to describe the changes (basicly a screenshot of the ticket list that have be solved).

=> If the module is generic (inside the OCA repository), the developper create a PR against OCA repo

odoo-production's People

Contributors

dzungtran89 avatar jweste avatar legalsylvain avatar mathieuvatel avatar phuctranfxvn avatar simonjejcic avatar vuongtien2411 avatar yuntux avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.