-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
[18.0][MIG] date_range #956
base: 18.0
Are you sure you want to change the base?
Commits on Oct 15, 2024
-
9.0 add date range Sorrento Delivery
* [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
Configuration menu - View commit details
-
Copy full SHA for 596ed29 - Browse repository at this point
Copy the full SHA 596ed29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 457fb2c - Browse repository at this point
Copy the full SHA 457fb2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b9f5e - Browse repository at this point
Copy the full SHA a2b9f5eView commit details -
[IMP] date_range: Several things
* Improve 'name' for generator wizard ir.rule should be active by default * Don't auto-add '-' after prefix when generating date ranges via wizard * code fine tuning suggested by Sylvain Garancher
Configuration menu - View commit details
-
Copy full SHA for d1f33fa - Browse repository at this point
Copy the full SHA d1f33faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d0696 - Browse repository at this point
Copy the full SHA e2d0696View commit details -
Configuration menu - View commit details
-
Copy full SHA for f14b54c - Browse repository at this point
Copy the full SHA f14b54cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ed99d - Browse repository at this point
Copy the full SHA 22ed99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bc07dd - Browse repository at this point
Copy the full SHA 7bc07ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cf91fe - Browse repository at this point
Copy the full SHA 9cf91feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e2b47 - Browse repository at this point
Copy the full SHA 89e2b47View commit details -
[IMP] date_range: Pass integration tests
If any module adds a required field on company, module fails. Executing it on post_install, there's no problem.
Configuration menu - View commit details
-
Copy full SHA for 9163da5 - Browse repository at this point
Copy the full SHA 9163da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a037a - Browse repository at this point
Copy the full SHA 34a037aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccab353 - Browse repository at this point
Copy the full SHA ccab353View commit details -
Configuration menu - View commit details
-
Copy full SHA for 222226a - Browse repository at this point
Copy the full SHA 222226aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6a62d - Browse repository at this point
Copy the full SHA bb6a62dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90de5cb - Browse repository at this point
Copy the full SHA 90de5cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e4e7c - Browse repository at this point
Copy the full SHA b6e4e7cView commit details -
[FIX] date_range: Disable external dependency check
Pylint-odoo is not able to detect properly whitelisted odoo's dependencies if an isort configuration file is present into the directory. Therefore the check fails by complaining that the dateutil dependecy is not declared into the manifest. A fix could have been to declare the dependency into the manifest . Unfortunately, in this case, a warning will be issued by runbot complaining that the python external dependency dateutil should be replaced by it's PyPI package name. Unfortunalely, if we put the Pypi package name into the external dependencies, pylint fails again since it's not able to play with PyPI distribution names. The workaround is to temporarily disable this check into pylint. I every case, all the pre-commit files will be reset once pylint will be fixed
Configuration menu - View commit details
-
Copy full SHA for a1866f7 - Browse repository at this point
Copy the full SHA a1866f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5324813 - Browse repository at this point
Copy the full SHA 5324813View commit details -
[FIX] date_range: Failed compute in required field
We can't assign an empty recordset in a computed writable for a required field for triggering DB fault, as previously this we get an akward error no in current ORM status: ERROR: operator does not exist: integer = boolean LINE 12: AND dt.type_id=false; ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. so let's simply trigger in this case the check of the company consistency, which is legit and the final expected result. I have added an extra test for testing the company consistency the other way around.
Configuration menu - View commit details
-
Copy full SHA for 11c393d - Browse repository at this point
Copy the full SHA 11c393dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9406f64 - Browse repository at this point
Copy the full SHA 9406f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4614fa - Browse repository at this point
Copy the full SHA d4614faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b22a7f - Browse repository at this point
Copy the full SHA 6b22a7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d39e5 - Browse repository at this point
Copy the full SHA 04d39e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3214462 - Browse repository at this point
Copy the full SHA 3214462View commit details -
[FIX] date_range: make the range selector work
Because ev.target.value is a string and the range ids are integers, comparison was always false, so the first range values were always used.
Configuration menu - View commit details
-
Copy full SHA for a8d3b16 - Browse repository at this point
Copy the full SHA a8d3b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e42351 - Browse repository at this point
Copy the full SHA 9e42351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 621d874 - Browse repository at this point
Copy the full SHA 621d874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98bf3b0 - Browse repository at this point
Copy the full SHA 98bf3b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b721abf - Browse repository at this point
Copy the full SHA b721abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d227a0 - Browse repository at this point
Copy the full SHA 8d227a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba1dad1 - Browse repository at this point
Copy the full SHA ba1dad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7936fba - Browse repository at this point
Copy the full SHA 7936fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17d0cd7 - Browse repository at this point
Copy the full SHA 17d0cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 837789f - Browse repository at this point
Copy the full SHA 837789fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 570540d - Browse repository at this point
Copy the full SHA 570540dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a41a0e2 - Browse repository at this point
Copy the full SHA a41a0e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c084284 - Browse repository at this point
Copy the full SHA c084284View commit details -
[FIX] date_range: Allow select date_ranges on custom filters
This commit solves the problems reported on Issue OCA#597
Configuration menu - View commit details
-
Copy full SHA for a500d16 - Browse repository at this point
Copy the full SHA a500d16View commit details -
[FIX] Avoid redefinition of this.OPERATORS as a new object
This causes problems with the inheritance of this.OPERATORS from other addons, if new operators are added Fixes OCA#722
Configuration menu - View commit details
-
Copy full SHA for 7b8a489 - Browse repository at this point
Copy the full SHA 7b8a489View commit details -
[FIX] date_range: Use FIELD_TYPES from this, as is already set
Use the FIELD_TYPES from CustomFilterItem parent class
Configuration menu - View commit details
-
Copy full SHA for fba7b2a - Browse repository at this point
Copy the full SHA fba7b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f086a5d - Browse repository at this point
Copy the full SHA f086a5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c18dbd - Browse repository at this point
Copy the full SHA 7c18dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eb835b - Browse repository at this point
Copy the full SHA 0eb835bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad0b3f - Browse repository at this point
Copy the full SHA 8ad0b3fView commit details -
date_range: add search views for date.range and date.range.type
use boolean_toggle for active field on tree views
Configuration menu - View commit details
-
Copy full SHA for 0f4638a - Browse repository at this point
Copy the full SHA 0f4638aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d6bab - Browse repository at this point
Copy the full SHA 29d6babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fcd92b - Browse repository at this point
Copy the full SHA 5fcd92bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ce926 - Browse repository at this point
Copy the full SHA d3ce926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3278d - Browse repository at this point
Copy the full SHA 4b3278dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3936ae - Browse repository at this point
Copy the full SHA e3936aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d82324b - Browse repository at this point
Copy the full SHA d82324bView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/
Configuration menu - View commit details
-
Copy full SHA for 3062c03 - Browse repository at this point
Copy the full SHA 3062c03View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (72 of 72 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/it/
Configuration menu - View commit details
-
Copy full SHA for 156aac5 - Browse repository at this point
Copy the full SHA 156aac5View commit details -
Translated using Weblate (French)
Currently translated at 100.0% (72 of 72 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/fr/
Configuration menu - View commit details
-
Copy full SHA for 0a9b1b5 - Browse repository at this point
Copy the full SHA 0a9b1b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0653e72 - Browse repository at this point
Copy the full SHA 0653e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a15a46 - Browse repository at this point
Copy the full SHA 8a15a46View commit details -
Configuration menu - View commit details
-
Copy full SHA for e26175d - Browse repository at this point
Copy the full SHA e26175dView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/
Configuration menu - View commit details
-
Copy full SHA for 7e91cae - Browse repository at this point
Copy the full SHA 7e91caeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a9d84 - Browse repository at this point
Copy the full SHA 55a9d84View commit details -
Translated using Weblate (Swedish)
Currently translated at 100.0% (71 of 71 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/sv/
Configuration menu - View commit details
-
Copy full SHA for 5f69517 - Browse repository at this point
Copy the full SHA 5f69517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c71818 - Browse repository at this point
Copy the full SHA 8c71818View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81bb605 - Browse repository at this point
Copy the full SHA 81bb605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3a33f - Browse repository at this point
Copy the full SHA 7f3a33fView commit details -
Translated using Weblate (Chinese (Simplified) (zh_CN))
Currently translated at 100.0% (71 of 71 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/zh_CN/
Configuration menu - View commit details
-
Copy full SHA for bbb57f2 - Browse repository at this point
Copy the full SHA bbb57f2View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (71 of 71 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/it/
Configuration menu - View commit details
-
Copy full SHA for 05a3b85 - Browse repository at this point
Copy the full SHA 05a3b85View commit details -
Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (71 of 71 strings) Translation: server-ux-17.0/server-ux-17.0-date_range Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/es_AR/
Configuration menu - View commit details
-
Copy full SHA for b9ee1c3 - Browse repository at this point
Copy the full SHA b9ee1c3View commit details -
date_range: fix for cases when domain is not initialized
For example during Odoo Studio editing the DomainSelector is not initialized before TreeEditor, which causes `env.domain` to be undefined
Configuration menu - View commit details
-
Copy full SHA for ce0bbf1 - Browse repository at this point
Copy the full SHA ce0bbf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c219089 - Browse repository at this point
Copy the full SHA c219089View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a399fe7 - Browse repository at this point
Copy the full SHA a399fe7View commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e10a8d6 - Browse repository at this point
Copy the full SHA e10a8d6View commit details