OCA / l10n-brazil

Localização brasileira oficial do Odoo.
https://odoo-community.org/psc-teams/brazil-66
GNU Affero General Public License v3.0
237 stars 243 forks source link

Forward-port / Back-port TODO #1578

Open rvalyi opened 3 years ago

rvalyi commented 3 years ago

Forward port from 12.0 to 13.0/14.0

Backport port from 14.0 to 12.0

rvalyi commented 3 years ago

The idea behind this issue is to update it the same way as we do with Shopinvader https://github.com/shopinvader/odoo-shopinvader/issues/416 or how Acsone does it internally for mis-builder https://github.com/OCA/mis-builder/pulls?q=is%3Apr+is%3Aclosed+PORT .

Rationale: basically at Akretion we participate to the maintainance of around ~70% of the OCA/l10-brazil and some of our customers will still be on v12 in 2022. Yup. We won't take any v13 project, but we will soon focus on v14. Some core modules are easier to migrate with a v13 step than straight to v14, but as for us we will provide v13 PRs only for the very core modules (like l10n_br_account and l10n_br_nfe) and we won't maintain v13 actively. But of courset if others want to do it that's fine and they will easily be able to backport modules from v14 (rather than front-port from v12). As for ourselves, we think we will phase out 12.0 evolution at the same pace we will adopt v15 eventually (not before early 2022 at least).

It means we need a strict way to port the project PRs back and forth to ensure last features and bugfix are available accross versions and also ensure a smooth migration when upgrading instead of the module being totally different and possibly broken in version N+1. This is also why we should keep modules as simple as possible and prefer breaking things down in several small modules where people are then hold responsible for shit not to happen with the modules they maintain before anything else.

Also this is made possible because we ate the bullet on v12 by converting almost the whole codebase to the OCA pre-commit standards https://github.com/OCA/l10n-brazil/issues/1445. An ingrate work from the previous months but that is now paying when porting modules much more easily with relitively small diffs.

cc @marcelsavegnago @renatonlima @mbcosta @britoederr @netosjb @felipemotter @rpsjr @bmessiaz @luismalta @gabrielcardoso21 @ygcarvalh @marcos-mendez

What do you guys think? I just wanted the main ideas were clear in plain English but answering in Portuguese is fine.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

marcos-mendez commented 7 months ago

Pois é. Eu ainda to usando algumas coisas da 12 para a 14 então imagina pra 16. Continuo concordando como em 2021