-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[15.0][MIG] excel_import_export, excel_import_export_demo: migration #2329
[15.0][MIG] excel_import_export, excel_import_export_demo: migration #2329
Conversation
@kittiu Hey. Because of your migration to v13 and v14, I want some help from you. I think, you know how JS worked here and mostly all functionality what JS code does here. Personally, I don't know probably anything about JS, and I saw that Odoo deleted
Thank you! 😉 |
@Mantux11 you are wrong that I know what I was doing about JS 😆 :) |
@kittiu Thanks for your answer. I will try to change what it's needed to be changed. :D |
Okey, I will test more on that. Thanks, for review |
@kittiu Talking about Sample Lead Report, you also missed that, this isn't working in 14 version, because |
@OCA/server-environment-maintainers |
@gaikaz have you tested this? Can you approve this? Thanks! |
Ping @Saran440 @ps-tubtim |
@kittiu |
excel_import_export/static/src/js/report/action_manager_report.esm.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test with demo 👍
Hello guys, Is it possible to merge the pull request ? I need this module for a project Regards |
@Mantux11 looks like pre-commit is failing. Can you check please? |
do not forget to integrate this change : https://github.com/OCA/server-tools/pull/2283/files |
@GreyShim I would wait for that PR to be merged. And I would include that here. |
@kittiu, @GreyShim, @Du-ma Could you review it now, please? This module is waiting in the line a long time ago. I changed what @GreyShim said that, and also, included what @luc-demeyer suggested in that PR above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for migrating and fixing this module!
models/common.py
line = "{}.{}".format("xls", uuid.uuid4()) + "," + line
To be consistent, please change to
line = "{}.{}".format("--excel_import_export--", uuid.uuid4()) + "," + line
with underscore instead of hyphen. (I cannot write underscore since it is evaluated as bold.)
@Mantux11 Henrik here has very good suggestion. @norlinhenrik |
Pls don't copy paste that |
@norlinhenrik Changed that. @Du-ma Yes I know, how you like to use |
Also a general question, why is this module not in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test with demo data: work as expected
For the functional, there is a minor things.
We can remove xlrd
and xlwt
from external dependencies because these two are part of base odoo requirements.
Sales > Sales Order > Quotation / Order (.xlsx) ----> not in the print action yet.
We need to click manually to add this report under print action in report definition. But I think this is not a problem. We can export under action.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-excel_import_export_demo Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export_demo/
Currently translated at 5.5% (11 of 200 strings) Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/it/
Currently translated at 82.5% (165 of 200 strings) Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/it/
Currently translated at 82.5% (165 of 200 strings) Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/it/
Currently translated at 82.5% (165 of 200 strings) Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/it/
Because those dependencies are already part of Odoo's base dependencies.
Currently translated at 100.0% (200 of 200 strings) Translation: server-tools-14.0/server-tools-14.0-excel_import_export Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-excel_import_export/es_AR/
@AungKoKoLin1997 I included all newest commit's history from Or @kittiu Could you merge? |
fix from PR #2283 together with @luc-demeyer suggestion #2283 (review)
Thank you all but I don't have power to merge. @dreispt can you help merge this? Thanks! |
@OCA/server-environment-maintainers |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at b078df5. Thanks a lot for contributing to OCA. ❤️ |
Migration to version
15.0
. Changes by pre-commit and changes because of Odoo code changes.