Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration scripts for v10 #757

Closed
pedrobaeza opened this issue Feb 10, 2017 · 82 comments

Comments

Projects
None yet
@pedrobaeza
Copy link
Member

commented Feb 10, 2017

Issue for gathering all the required things for migrating to v10.

For this version, OCA has funded the development of the migration scripts that are installed in their Odoo instance. They are marked as (OCA project) for being recognized and expect them to be done in the near future if not yet done.

Odoo modules

OCA modules

  • OCA/sale-workflow: sale_order_back2draft functionality has been included in core. - By @pedrobaeza - #929
  • OCA/account-invoicing: account_invoice_shipping address - Included in core - By @pedrobaeza - #940
  • OCA/account-invoicing: account_invoice_refund_option functionality is included in core (see OCA/account-invoicing#229 (comment))
  • OCA/website: website_payment_v10 and website_portal_v10 are now part of the core (as both are backports from this version).
  • OCA/website: website_blog_mgmt features are now part of the core - By @chienandalu - #1656
  • OCA/reporting-engine: report_custom_filename is now part of core.
  • OCA/social: mass_mailing_security_group is not needed anymore. You will need to manually assign the "Mass mailing user" permission for granting access. - By @pedrobaeza - #946
  • OCA/manufacture: mrp_calendar_view renamed to mrp_repair_calendar_view.
  • OCA/web: web_easy_switch_company: merged in web - By @cubells - #1079
@jholze

This comment has been minimized.

Copy link

commented Feb 10, 2017

👍

@jholze

This comment has been minimized.

Copy link

commented Feb 15, 2017

@pedrobaeza how can we make progress here ? We are nearly finished with the migration of a project to 8, than we will check 9, so would be cool if we can check together how we can speed up the progress. Maybe a hangout guys ? We can support migration to 10 a lot i think.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Feb 15, 2017

9.0 Odoo modules should be dump here with the check for indicating later which ones are already migrated. I normally exclude l10n_xx, as they don't need migration.

@jleaders

This comment has been minimized.

Copy link

commented Feb 17, 2017

If you don't mind me asking, what's the estimated time when this would would be ready?

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Feb 17, 2017

No plans for now.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Apr 15, 2017

Odoo addons list for tracking migration scripts has been included.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Apr 15, 2017

Default branch of the project changed to 10.0.

@pepetreshere

This comment has been minimized.

Copy link

commented May 14, 2017

Count me up to help in this project!, at Trescloud we have started a migration project up to v10.

I am trying to find out which modules are yet to be migrated, so that we can start collaborating on some of them to get our project done.

But the file odoo/openupgrade/doc/source/modules90-100.rst doesn't have any list although there were merges to that file (for example this one). I tried looking at https://doc.therp.nl/openupgrade/modules90-100.html but the list of modules seems missing too.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented May 14, 2017

@pepetreshere, here you have the ToDo list. What more do you need?

@hbrunn

This comment has been minimized.

Copy link
Member

commented May 14, 2017

the todo list doesn't tell the full story as we know currently that @NL66278 works on account and @jbeficent on product if I'm not mistaken. And of course we shouldn't frustrate new contributors with duplicate efforts. @lfreeke could you update the list in this issue please?

@pepetreshere if you're new to the game, welcome! I wrote some things in the previous issue you asked about, if you want to contribute to the 10.0 migration, that's great. We didn't formalize conventions up to now, but stick to a few rules to make our cooperation simpler:

  • if you start working on something, announce that here so that the list above can be updated
  • one PR per module (if it's not just updating the readme there's nothing to do)
  • we want full coverage of migration scripts, add test data if necessary the way some 9.0 scripts did via a yml file (I'm in the train now with very shaky wifi, look this up yourself)
  • CI tests do migrate a (n-1) version database with all addons installed and demo data enabled, check the same locally in order not to waste time on figuring out why the CI fails (study .travis.yml for how to handle not yet migrated modules)
@hbrunn

This comment has been minimized.

Copy link
Member

commented May 14, 2017

PS: The updated doc script doesn't run currently because of #816, if anyone wants to do the honors...

@pepetreshere

This comment has been minimized.

Copy link

commented May 15, 2017

Thanks for your clarification guys, I will keep reviewing the documentation and testing the migration from v8 to v9.

@lfreeke

This comment has been minimized.

Copy link

commented May 15, 2017

@hbrunn I'm not a contributor so I cannot update the list. @pedrobaeza will update the list as I discussed this with him today.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented May 15, 2017

We have also talked about marking all the modules that are going to be migrated inside OCA project, so other contributors can focus on doing the rest. I'm with that task right now.

@pepetreshere

This comment has been minimized.

Copy link

commented May 19, 2017

Hello @hbrunn and @pedrobaeza, we have successfully migrated the stock module (PR #837) and we would appreciate your review. The same for purchase module which seems to not need anything (PR #838). Our plan is to verify that we are using the right processes and techniques before going on with other modules (hopefully verified if we get to merge stock module).

We found that most modules depends on others already funded by OCA (which is great!) that are not yet done. If you don't mind me asking would it be possible to know the estimated delivery time for each module?

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented May 19, 2017

All the work is going to be done before July, @pepetreshere

@pepetreshere

This comment has been minimized.

Copy link

commented May 19, 2017

Thats great @pedrobaeza, thanks for the info.

The MRP modules are not marked for migration inside OCA project, these modules seems a bit complex, do you know if anybody is planning to work on these? perhaps we can join efforts to migrate the MRP modules, specially for elaborating the correponding openupgrade_analysis_work.txt files.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented May 19, 2017

Nobody is interested for it right now, me neither. Indeed, the more work in this version is this module.

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

@pedrobaeza I want to work on the migration for the sale and sale_stock modules.

@NL66278

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

@pedrobaeza Here my PR for the account module (still WIP): #843

@astirpe

This comment has been minimized.

Copy link
Member

commented May 29, 2017

@pedrobaeza I would like to work on modules hr and hr_holidays

@PCatinean

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

@pedrobaeza I've been assigned the mrp migration

@mreficent

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

@pedrobaeza I would like to work on account_voucher

@omar7r

This comment has been minimized.

Copy link

commented May 29, 2017

@PCatinean @pedrobaeza Project module will be a 'nothing to do'.

@omar7r

This comment has been minimized.

Copy link

commented May 29, 2017

project_issue module -> Nothing to do

@NL66278

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

@omar7r If there is "Nothing to do" there is one thing todo: create a PR adding the Nothing to do text to the line for the module in odoo/openupgrade/doc/source/modules90-100.rst

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented May 29, 2017

Written down all the assigned modules. Please make your PRs with the "Nothing to do" confirmation in the analysis work file and the documentation.

@mreficent

This comment has been minimized.

Copy link
Contributor

commented May 29, 2017

PR of account_voucher migration: #845

@astirpe

This comment has been minimized.

Copy link
Member

commented May 31, 2017

@pedrobaeza Sorry but for the upcoming weeks I think I will not be able to dedicate any time for migration of module hr_attendance, may I ask you to remove my name from hr_attendance?

On the other side there is another module that has priority in my to do list: l10n_nl. May I ask you to add my name to that module? Thank you!

@reinka

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

@mreficent #879 and #880 were already done here: #868 and #870

@mreficent

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

Ok, I closed mines 😂

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for account_tax_cash_basis migration: #881

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for account_tax_python migration: #882

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for anonymization migration: #883

@reinka

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for website_theme_install: #884

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for association migration: #885

@rruebner

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for auth_crypt, auth_ldap and auth_oauth migrations: #886

@reinka

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for website_slides: #887

@mreficent

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for base_iban: #888

@mreficent

This comment has been minimized.

Copy link
Contributor

commented May 31, 2017

PR for both event and event_sale: #889

@astirpe

This comment has been minimized.

Copy link
Member

commented Jun 1, 2017

PR for l10n_nl: #890

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jun 6, 2017

PR for both survey and survey_crm: #893

@reinka

This comment has been minimized.

Copy link
Contributor

commented Jun 7, 2017

PR for website_sale_stock: #900

@reinka

This comment has been minimized.

Copy link
Contributor

commented Jun 7, 2017

PR for website_sale_digital: #902

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jun 7, 2017

PR for payment: #906

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jun 8, 2017

PR for several website modules: #908

@jbeficent

This comment has been minimized.

Copy link
Member

commented Jun 8, 2017

Updated as per @mreficent comments

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jun 26, 2017

PR for pad and pad_project modules: #935

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Jun 29, 2017

@astirpe are you going to finally work on hr_attendance?

@astirpe

This comment has been minimized.

Copy link
Member

commented Jun 29, 2017

@pedrobaeza in one of my posts above (sent last 31/05/2017) I asked you to remove my name from hr_attendance :) Is it possible?

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Jun 29, 2017

Oh, I didn't see it. Well, no problem. I will take care of it.

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jun 29, 2017

PR for sale_crm module: #941

@mreficent

This comment has been minimized.

Copy link
Contributor

commented Jul 6, 2017

PR for point_of_sale module: #959

@sebastienhasa

This comment has been minimized.

Copy link

commented Apr 18, 2019

I got a list of used module in Odoo v7 that not mentionned in the list of supported module at the top. How can I know if these modules had change their names, merged or faded away between Odoo 7 to 10?

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Apr 18, 2019

You can inspect apriori.py files across versions, that reflects renaming/merged modules, and mention here for completing the information.

@pedrobaeza

This comment has been minimized.

Copy link
Member Author

commented Jun 30, 2019

I think we can close this as most relevant modules have been covered, and if someone comes with a missing one, it's not needed to be opened to be tracked here.

If you don't agree, please comment back.

@pedrobaeza pedrobaeza closed this Jun 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.