-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
[16.0] [MIG] knowledge #367
Conversation
* Copyright and various stuff * Contributors * External ID not found in the system: base.group_document_user
Currently translated at 93.9% (31 of 33 strings) Translation: knowledge-11.0/knowledge-11.0-knowledge Translate-URL: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-knowledge/pt_BR/
It solves this: OCA#179
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Otherwise the module grants too wide permissions for all users.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-12.0/knowledge-12.0-knowledge Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-knowledge/
Currently translated at 88.4% (23 of 26 strings) Translation: knowledge-15.0/knowledge-15.0-knowledge Translate-URL: https://translation.odoo-community.org/projects/knowledge-15-0/knowledge-15-0-knowledge/tr/
Currently translated at 100.0% (26 of 26 strings) Translation: knowledge-15.0/knowledge-15.0-knowledge Translate-URL: https://translation.odoo-community.org/projects/knowledge-15-0/knowledge-15-0-knowledge/fr/
/ocabot migration knowledge |
For having the whole history with the new name for later migrations (in v17, v18...), please execute this command: git filter-branch --tree-filter 'if [ -d old_module_name ]; then mv old_module_name new_module_name; fi' HEAD |
@pedrobaeza for changing module name, do you see something more to do than running https://github.com/OCA/openupgradelib/blob/94762d1a5a4172b680a7e019fe4d7db44b2bf7af/openupgradelib/openupgrade.py#L1529 in a pre-migration script? |
Hi, @marielejeune That's only needed when you are migrating from 15.0 to 16.0, but not for the module migration itself. On OpenUpgrade, we add all the renamings/mergings in this file: https://github.com/OCA/OpenUpgrade/blob/15.0/openupgrade_scripts/apriori.py and the method you mentioned is called from |
In v16 Odoo has its own knowledge module
Good name selected. Please remember to rename whole commit history. |
Ow, that is surprising. I understand the reason but... one more thing to add to my list of downsides of our current migration approach ;) @sebalix as you work on oca-port, what do you think of this idea of renaming a module in past commits when migrating? Have you already thought about module renaming in oca-port? |
The problem will be similar when reusing the same branches, as git wont' find references before the renaming, so I think this is even better, as you have the occasion to accommodate the history for this case. |
Hi @pedrobaeza, I'm not sure to understand what this command should do? I launched it locally but apart new commits sha, I don't see any difference. |
You need to change |
Yes, that was done |
Well, if you inspect a commit before the last one, check if now the module directory has the new name. |
You can forced push it here also to be checked. |
a2ac550
to
36e69e8
Compare
Oh, I think you need to do a rebase over origin/16.0 before... |
@sbidoul I thought about a |
Well I'm not sure we should either, TBH. |
Migrated to version 16.0
TODO: change module name, since knowledge is now a distinct Odoo module.