Merge lp://staging/~therp-nl/web-addons/7.0-web_relativedelta into lp://staging/~webaddons-core-editors/web-addons/7.0
Proposed by
Holger Brunn (Therp)
Status: | Rejected |
---|---|
Rejected by: | Holger Brunn (Therp) |
Proposed branch: | lp://staging/~therp-nl/web-addons/7.0-web_relativedelta |
Merge into: | lp://staging/~webaddons-core-editors/web-addons/7.0 |
Prerequisite: | lp://staging/~therp-nl/web-addons/7.0-web_relativedelta_momentjs |
Diff against target: |
377 lines (+352/-0) 4 files modified
web_relativedelta/__init__.py (+20/-0) web_relativedelta/__openerp__.py (+77/-0) web_relativedelta/static/src/js/web_relativedelta.js (+179/-0) web_relativedelta/static/test/web_relativedelta.js (+76/-0) |
To merge this branch: | bzr merge lp://staging/~therp-nl/web-addons/7.0-web_relativedelta |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Needs Resubmitting | ||
Stefan Rijnhart (Opener) | Needs Information | ||
Review via email: mp+217653@code.staging.launchpad.net |
Description of the change
Reimplementation of relativedelta for use in client side domains in the hope that it sucks less than the one provided in upstream.
This uses http://
To post a comment you must log in.
Unmerged revisions
- 39. By Holger Brunn (Therp)
-
[ADD] actually add tests
- 38. By Holger Brunn (Therp)
-
[ADD] tests
[ADD] more detail in manifest - 37. By Holger Brunn (Therp)
-
[FIX] actually use relativedelta's semantics for weekdays
- 36. By Holger Brunn (Therp)
-
[IMP] sanitize input for absolute values
[IMP] handle day parameter correctly (don't cross month boundaries) - 35. By Holger Brunn (Therp)
-
[ADD] web_relativedelta
- 34. By Holger Brunn (Therp)
-
[ADD] moment.js
Thanks! Code looks clean enough. But I was wondering about the rationale. Can you give an example how to use this in a custom module (I assume)? Why do you 'hope' it sucks less, I mean, what is bad about the standard implementation in the OpenERP web client? Why not propose this into upstream OpenERP web client trunk then?