-
-
Notifications
You must be signed in to change notification settings - Fork 529
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][FIX] date_range: Allow select date_ranges on custom filters #717
Conversation
Hi @lmignon, |
@@ -1,14 +1,17 @@ | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
<!-- Copyright 2021 Studio73 - Pablo Fuentes (https://www.studio73.es) | |||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). --> | |||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> |
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.
@CarlosRoca13 This addon is lgpl. Can you remove this change plz?
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.
Ups! Sorry, change done!
This commit solves the problems reported on Issue OCA#597
edb046b
to
9fbc049
Compare
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.
Code + Functional
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at ea46ce5. Thanks a lot for contributing to OCA. ❤️ |
I just discovered that this PR causes a regression: when you use Odoo in French (the bug doesn't happen when you use Odoo in English), go to "Invoicing > Accounting > Journal Items" et click on "Filters" drop down menu ; you get this crash:
If I checkout the code just before this PR was merged, then I don't have any crash when I click on "Filters" in the search view of account.move.line. |
The crash also happens when using Odoo in spanish (es). But I doesn't happen when using Odoo in Portuguese (pt). |
It is easy to reproduce the bug on runboat v16 of OCA/server-ux:
|
If I overwrite fr.po and fr_FR.po with date_range.pot and I create a new v16 DB with account, date_range and account_usability, I still have the crash. So it seems that the content of the PO file is not the cause of the bug. But I can't explain why it crashes on es and fr, and not on pt ! |
This commit solves the problems reported on Issue #597
cc @Tecnativa TT43442
ping @pedrobaeza @sergio-teruel