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

[UPD] adapt click-odoo-update for odoo 16 #119

Merged
merged 1 commit into from Sep 20, 2022
Merged

Conversation

baimont
Copy link
Contributor

@baimont baimont commented Sep 20, 2022

click-odoo-update does not work after odoo 15

in odoo master this is because load_information_description_file() is deprecated

see https://github.com/odoo/odoo/blob/master/odoo/modules/module.py#L413

I propose this pr to fix this, tested for an odoo 13 and an odoo master

Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can you add a 119.bugfix in the news directory?

@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2022

Codecov Report

Merging #119 (57e93d6) into master (7605322) will decrease coverage by 1.45%.
The diff coverage is 66.66%.

❗ Current head 57e93d6 differs from pull request most recent head aaeeb06. Consider uploading reports for the commit aaeeb06 to get more accurate results

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
- Coverage   92.55%   91.09%   -1.46%     
==========================================
  Files          14       13       -1     
  Lines         886      865      -21     
  Branches      154      154              
==========================================
- Hits          820      788      -32     
- Misses         45       53       +8     
- Partials       21       24       +3     
Impacted Files Coverage Δ
click_odoo_contrib/update.py 84.33% <66.66%> (-1.12%) ⬇️
click_odoo_contrib/dropdb.py 75.00% <0.00%> (-20.84%) ⬇️
click_odoo_contrib/manifest.py 97.10% <0.00%> (-2.90%) ⬇️
click_odoo_contrib/initdb.py 94.76% <0.00%> (-1.14%) ⬇️
click_odoo_contrib/restoredb.py 68.51% <0.00%> (-0.58%) ⬇️
click_odoo_contrib/_backup.py 88.15% <0.00%> (-0.16%) ⬇️
click_odoo_contrib/makepot.py 93.15% <0.00%> (-0.10%) ⬇️
click_odoo_contrib/backupdb.py 98.43% <0.00%> (-0.03%) ⬇️
click_odoo_contrib/copydb.py 100.00% <0.00%> (ø)
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@baimont
Copy link
Contributor Author

baimont commented Sep 20, 2022

Thanks! Can you add a 119.bugfix in the news directory?

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants