Commit Graph

73256 Commits

Author SHA1 Message Date
niv-openerp b874f4bec2 [IMP] im, im_livechat: big refactoring to unite the JavaScript used by those two modules under a common JavaScript module
bzr revid: nicolas.vanhoren@openerp.com-20130820151502-b2zd3jab5v0wxfvc
2013-08-20 17:15:02 +02:00
niv-openerp 89b3edad09 Solved style problems identified by jshint
bzr revid: nicolas.vanhoren@openerp.com-20130820151241-1oi29vxm8iq34v8x
2013-08-20 17:12:41 +02:00
niv-openerp 1d5f220d12 Solved bottom offset problem
bzr revid: nicolas.vanhoren@openerp.com-20130820150607-btn650h12nygofcm
2013-08-20 17:06:07 +02:00
niv-openerp d756dc5977 Removed to_url
bzr revid: nicolas.vanhoren@openerp.com-20130820144843-yeny7kpv1qcqijl9
2013-08-20 16:48:43 +02:00
niv-openerp 124b93b0c1 Fixed a lot of stuff to make it work again in live support
bzr revid: nicolas.vanhoren@openerp.com-20130820144147-gnc26ul3ql86qfzs
2013-08-20 16:41:47 +02:00
niv-openerp 980952c416 Ported most of the old im.js to im_common.js
bzr revid: nicolas.vanhoren@openerp.com-20130820141538-xsdm64uinhbf8v5g
2013-08-20 16:15:38 +02:00
niv-openerp d60c2a5f7e Some cleaning
bzr revid: nicolas.vanhoren@openerp.com-20130820121522-en3bft0wotfnsozm
2013-08-20 14:15:22 +02:00
niv-openerp c2366d7181 Put ChatButton in livechat
bzr revid: nicolas.vanhoren@openerp.com-20130819142139-mvh25k95k1wbjtzv
2013-08-19 16:21:39 +02:00
niv-openerp 910ae6cba9 Created chat common javascript module/css/template file
bzr revid: nicolas.vanhoren@openerp.com-20130819140908-iai1e58wh7ofb7tp
2013-08-19 16:09:08 +02:00
niv-openerp ef7695cf08 [IMP] im_livechat: ported the javascript to the new openerp framework
bzr revid: nicolas.vanhoren@openerp.com-20130819123836-8ngjlvab8202tk65
2013-08-19 14:38:36 +02:00
niv-openerp 061f5a516b merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130819123730-tjkhbg2vd3k1caaz
2013-08-19 14:37:30 +02:00
niv-openerp 938615e3e1 Added some doc
bzr revid: nicolas.vanhoren@openerp.com-20130819123332-cey9dmwrl39t2b1k
2013-08-19 14:33:32 +02:00
niv-openerp 2f0e54db9d Now has a good amd wrapper for qweb
bzr revid: nicolas.vanhoren@openerp.com-20130819122459-45alsxp7m8zphc6v
2013-08-19 14:24:59 +02:00
niv-openerp e15f586699 [FIX] fixed regression that made the server url detection fail
bzr revid: nicolas.vanhoren@openerp.com-20130819121437-lb05m0jc13lyabyq
2013-08-19 14:14:37 +02:00
niv-openerp 6badbe9253 Now the live chat seems to work correctly again
bzr revid: nicolas.vanhoren@openerp.com-20130819121415-ksb84flj8t0q6x1e
2013-08-19 14:14:15 +02:00
niv-openerp f0abbcba1f Added achtung images
bzr revid: nicolas.vanhoren@openerp.com-20130819093802-33goelhoyf8hwxax
2013-08-19 11:38:02 +02:00
niv-openerp f47e78b757 wip
bzr revid: nicolas.vanhoren@openerp.com-20130819093338-9g3ar3routxezzyk
2013-08-19 11:33:38 +02:00
niv-openerp 3210d02d8f [REVERT] reverted 3812 because it's an incorrect way to upgrade an external dependency of OpenERP
bzr revid: nicolas.vanhoren@openerp.com-20130819092940-9vqh5036p7rf2azv
2013-08-19 11:29:40 +02:00
niv-openerp a0bac10130 [IMP] added minor feature in Widget to ease development
bzr revid: nicolas.vanhoren@openerp.com-20130819092408-rdi91pokwuuy3f5e
2013-08-19 11:24:08 +02:00
niv-openerp 580287348d Converted templates + wip
bzr revid: nicolas.vanhoren@openerp.com-20130819091741-focrd0tpwjv2vg8s
2013-08-19 11:17:41 +02:00
Launchpad Translations on behalf of openerp 829ea61223 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130814045440-z3vkpqdecwzo9goa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130817052551-0rmhwu64ienjxlz6
2013-08-17 05:25:51 +00:00
Launchpad Translations on behalf of openerp fc969736ac Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130816052019-39kjg6zprc54n2z2
2013-08-16 05:20:19 +00:00
Launchpad Translations on behalf of openerp e8164c9a92 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130813050055-fmkanz7td7w58kzf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130814045511-yrhlcb59vue91ump
bzr revid: launchpad_translations_on_behalf_of_openerp-20130815043815-yc5fb3x522yw5o48
bzr revid: launchpad_translations_on_behalf_of_openerp-20130816051303-u3rtwcqq66h53wmg
2013-08-16 05:13:03 +00:00
Fabien Meghazi 81e028b791 [ADD] QWeb: add async api (backward compatible)
bzr revid: fme@openerp.com-20130814164322-cny24d0i6tg4ftvn
2013-08-14 18:43:22 +02:00
niv-openerp 285b8ceae7 First version that does not crash on loading
bzr revid: nicolas.vanhoren@openerp.com-20130814163114-7rg9hfl274o166ph
2013-08-14 18:31:14 +02:00
niv-openerp a7d8dca61d Begin re-writing of javascript part
bzr revid: nicolas.vanhoren@openerp.com-20130814143115-9goib9f0evrtyal8
2013-08-14 16:31:15 +02:00
niv-openerp a9ffb0061b [FIX] remove password storing in localstorage
lp bug: https://launchpad.net/bugs/1211795 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130813141651-b5f9eegs2edz4mny
2013-08-13 16:16:51 +02:00
niv-openerp 19fa30082d Put requirejs in libs
bzr revid: nicolas.vanhoren@openerp.com-20130813135404-ymjc5ph7v9f1xylr
2013-08-13 15:54:04 +02:00
niv-openerp 7795418aab Re-packaged achtung
bzr revid: nicolas.vanhoren@openerp.com-20130812152102-p9v8cpck3uezb45q
2013-08-12 17:21:02 +02:00
niv-openerp 3fa7930823 Re-created a requirejs config that works
bzr revid: nicolas.vanhoren@openerp.com-20130812151036-jr2288c99zb1s8sm
2013-08-12 17:10:36 +02:00
Thibault Delavallée 6f300c0875 [MERGE] [IMP] hr_holidays: days computation and workflow update
Remaining days calculation:
- get_days now also calculate virtual remaining days that take into account the confirmed leave requests.
- virtual remaining days are taken into account when confirming / validating a leave request. This allows to avoid having several pending leave requests that cannot be validated because of a lack of remaining days once all requests are validated.

Workflow update:
- begins in confirm state
- added transition confirm->draft; transition draft->confirm is not automatic anymore (Confirm button)
- added transition refuse->draft, to reset the leave request and allow edition

Misc
- leave summary does not show refused leave requests anymore
- added tests + some fixes for bugs trigerred by the tests (mainly access rights issues)
- added changelog

bzr revid: tde@openerp.com-20130812131723-ioe7sfgvl20z0npc
2013-08-12 15:17:23 +02:00
Thibault Delavallée 56360dd74d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130812122719-58yirruv0g3e7o02
2013-08-12 14:27:19 +02:00
Thibault Delavallée e54dde9559 [IMP] hr_holidays: leave summary: removed default filter default_validated, but added a domain to exclude refused requests from the summary. This was creating wrong numbers that do not make any sense.
bzr revid: tde@openerp.com-20130812122657-g09wsfepdb2dh2dy
2013-08-12 14:26:57 +02:00
Thibault Delavallée 69e80d989c [MERGE] [REF] crm stage management cleaning
[REM] base_stage removal

Using stages and states is not easy to manage. Indeed those two fields mess with the same basic concept. This task remove the state on crm.lead and crm.claim models, leaving only stages.

Main features:
- removed base_stage inheritance on crm.lead and crm.claim models
- removed state field on crm.lead and crm.claim models
- removed state field on crm.case.stage model
- added date_last_stage_update on crm.lead and crm.claim models, holding the date of the last stage change, allowing reporting and analysis on time spend in stages
- date_open is set when assigning an user to the lead / claim; date_open now means assignation date

This allows nearly to remove all buttons on the form view, leaving only a dynamic stage management using the statusbar. On opportunities, Mark Won / Lost are kept.

Subtypes have been updated :
- new: stage_id.sequence=1
- stage changed: stage_id changed, not new
- user assigned: when user_id is set

This branch is the last one removing state where stage already exits. There is no need anymore of base_stage that is removed.

Misc:
- [IMP] views accordingly;
- [IMP] reports accordingly, added date_last_stage_update in reports;
- [IMP] subtypes;
- [DOC] doc directory + changelog + stage explanation in crm_lead

bzr revid: tde@openerp.com-20130812120725-u10zptg2m4z8ah4k
2013-08-12 14:07:25 +02:00
Thibault Delavallée c3b9d6c52c [CLEAN] crm: some cleaning in demo data
bzr revid: tde@openerp.com-20130812114748-sngknmr1pjaq13ag
2013-08-12 13:47:48 +02:00
niv-openerp ea13adf323 Used bower for dependencies
bzr revid: nicolas.vanhoren@openerp.com-20130812092501-c4auij2gb90drid1
2013-08-12 11:25:01 +02:00
niv-openerp 47ed4255c1 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130812085308-grncspjucklvd5hh
2013-08-12 10:53:08 +02:00
Thibault Delavallée bf09b267a0 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130812075853-d12p01w8a5h0ez6w
2013-08-12 09:58:53 +02:00
Thibault Delavallée dad45991ce [DOC] hr_holidays: added basic changelog
bzr revid: tde@openerp.com-20130809145026-z8c8akzbcyxo5gir
2013-08-09 16:50:26 +02:00
Thibault Delavallée 08b0784e76 [IMP] hr_holidays:
- added a workflow transition from refuse to draft, to allow resetting
a refused request
- resetting is now based on a can_reset field, taht is based on whether
it is my own request or I am an hr manager
- added an access right on crm_meeting that was preventing hr officers
to validate some requests
- improved form view to show reset to draft button accordingly
- added tests that helped trigerred the various bugs and improvements

bzr revid: tde@openerp.com-20130809144752-o21pjbc56o0t8fym
2013-08-09 16:47:52 +02:00
Thibault Delavallée 292ecbb301 [FIX] workflows: fixed a regression in transition check, group attribute on transaction is group_id, not groups_id
bzr revid: tde@openerp.com-20130809105122-a1433kqvznj4sntp
2013-08-09 12:51:22 +02:00
Thibault Delavallée 39cb3e44b1 [FIX] crm: mark lost button does not appear everytime anymore
bzr revid: tde@openerp.com-20130809075228-umybo4y635kf1mrf
2013-08-09 09:52:28 +02:00
Thibault Delavallée 769962e5f9 [FIX] sale_crm: fixed call to case_close that does not exits anymore; using case_mark_won instead
bzr revid: tde@openerp.com-20130809075213-cffxz6rx8t1s2gq1
2013-08-09 09:52:13 +02:00
Launchpad Translations on behalf of openerp 50c17d4b54 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130809050610-mx1qw5tdynklmz25
2013-08-09 05:06:10 +00:00
Thibault Delavallée 58a755ba2e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130808141004-8mqu6808m7p5bjzi
2013-08-08 16:10:04 +02:00
Thibault Delavallée 1e66ff3eca [MERGE] [IMP] mail: Chatter: better read more / read less in messages, using the improved html_email_clean.
[REM] mail: removed jquery.expander library as there is no need anymore of this external lib

bzr revid: tde@openerp.com-20130808140837-4re8tgsoobs8x847
2013-08-08 16:08:37 +02:00
Thibault Delavallée 5dadda8c73 [MERGE] [IMP] tools: improved html_email_clean :
- improved heuristics to find a quote, added MsOffice / Hotmail specific heuristics
- added an option to shorten the html, adding the 'read more' link
- it now flags nodes to remove; an option to remove them has been added.

This improvement allows to display a shortened and cleaned version of emails in the chatter, with a 'read more' link that displays the full email. See the addons branch for more details.

[TESTS] Added tests, based on cases that fails with the previous implementation

bzr revid: tde@openerp.com-20130808140824-h37vgi5clfeoexne
2013-08-08 16:08:24 +02:00
niv-openerp 2e6d38f068 [IMP] Moved the date formatting functions in openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130808134520-v0n2b29vuffstyu0
2013-08-08 15:45:20 +02:00
Thibault Delavallée e3175e482f [TESTS] tools: mail: added some tests + some cleaning in tests
bzr revid: tde@openerp.com-20130808132258-01sv0w1hrgtdyogq
2013-08-08 15:22:58 +02:00
Thibault Delavallée 5cd4957ef1 [DOC] Added change in changelod.
bzr revid: tde@openerp.com-20130808124631-g15336v3p0mfhayt
2013-08-08 14:46:31 +02:00