odoo/upgrade#5187
Created by Security, Martin Trigaux (mat)
Statuses:
- ci/runbot: Test upgrades between stable versions
- ci/upgrade_enterprise: Test upgrades for enterprise master
- label
- odoo-dev:master-deprecate-module-paths-mat
- head
- 0cb55cf07963d24ac425bd1b3f6f7da3e84de854
- merged
- 2 years ago by Upgrade, Christophe Simonis (chs)
odoo/odoo | odoo/enterprise | odoo/upgrade | |
---|---|---|---|
master | #135607 | #47475 | #5187 |
[IMP] base: use file_path instead of get_resource_path
Starting of 17.0, the get_resource_path
is deprecated in favour of the more secure file_path
file_path was only introduced in 15.0
odoo/odoo#135607
odoo/enterprise#47475
This upgrade PR avoids warning and allow to already use the file_path
nomenclature everywhere.
For a PR that adds a new upgrade script (for the Odoo's master
branch or one of the RR versions):
- [x] I've added the references to the Enterprise and/or Community PRs in the commit message, even if they are already merged.
- [x] I've added an overall description of the changes made in the Community/Enterprise branches.
For all PRs:
- [x] My commit's title follows the right format.
- [x] My commit's body includes information about the changes.
- [x] I've added odoo/upgrade
as a reviewer.
- [x] I've read and understood this list.
- [x] I will ensure all the CI checks are green.
> Note More info can be found in the wiki.