Commit Graph

73228 Commits

Author SHA1 Message Date
Thibault Delavallée 2948a44a53 [REF] crm_phonecall: removed inheritance towards base_state + some cleaning due to refactoring + changelog in crm/doc
bzr revid: tde@openerp.com-20130813084447-tb2j9uir3vzy0ddw
2013-08-13 10:44:47 +02: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 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
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
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
Thibault Delavallée 3726716d2b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130808121256-q56ygxzm7vplw58o
2013-08-08 14:12:56 +02:00
Thibault Delavallée a5c6872150 [FIX] views: fixed form view not being able to launch any sidebar action
bzr revid: tde@openerp.com-20130808104733-gg0vpwxzy631pj0x
2013-08-08 12:47:33 +02:00
Thibault Delavallée 08caa3c72b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130808083541-x1grch2pugu0p78f
2013-08-08 10:35:41 +02:00
Thibault Delavallée 079ea21883 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130808083451-plvcks1kwjhh2vzi
2013-08-08 10:34:51 +02:00
Thibault Delavallée 577f56497b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130808083426-46cvo5e1g3x8nvgs
2013-08-08 10:34:26 +02:00
Launchpad Translations on behalf of openerp a306c9a435 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130808044542-thrriv5eavhc79dy
2013-08-08 04:45:42 +00:00
Launchpad Translations on behalf of openerp f3e4bb5c4d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130808043924-8c2ozuaxc87zx12b
2013-08-08 04:39:24 +00:00
Christophe Simonis 98fda4690a [MERGE][ADD] add css for module html description
bzr revid: chs@openerp.com-20130807155940-scd4lb0eoi6364kd
2013-08-07 17:59:40 +02:00
Thibault Delavallée 7120d12342 [MERGE] [FIX] mail_mail: computation of reply_to after create to avoid
interfering with automatic message_id creation of mail_message
[FIX] mail_thread: fixed issues with private messages through mailgateway
(wrong route checking, variable erasing)
[TEST] mail: added test for private discussions
[CLEAN] mail: tests: cleaned test_mail_gateway file about indentation

bzr revid: tde@openerp.com-20130807145043-l652oyxe1a31h7c8
2013-08-07 16:50:43 +02:00
Thibault Delavallée c998b86a46 [CLEAN] mail: tests: cleaned test_mail_gateway file about indentation
bzr revid: tde@openerp.com-20130807142928-ocgzim1hdi95uyby
2013-08-07 16:29:28 +02:00
Thibault Delavallée 2eece10cd4 [FIX] mail_mail: computation of reply_to after create to avoid
interfering with automatic message_id creation of mail_message
[FIX] mail_thread: fixed issues with private messages through mailgateway
(wrong route checking, variable erasing)
[TEST] mail: added test for the second bug

bzr revid: tde@openerp.com-20130807142418-3h5qxdt3ekosj9x6
2013-08-07 16:24:18 +02:00
niv-openerp 88d43bf677 [FIX] mimetype problem that made Firefox crash
bzr revid: nicolas.vanhoren@openerp.com-20130807123041-8tvf9u14xderh3hr
2013-08-07 14:30:41 +02:00
niv-openerp 1f726f7826 [FIX] regression that made the qweb modules be loaded 2 times
bzr revid: nicolas.vanhoren@openerp.com-20130807095457-gdm1ixzk0rcev2sg
2013-08-07 11:54:57 +02:00
niv-openerp 8b963ce64f [FIX] Fixed regression that made the debug mode unavailable
bzr revid: nicolas.vanhoren@openerp.com-20130807092232-jgkap3b3cfa2grfq
2013-08-07 11:22:32 +02:00
Launchpad Translations on behalf of openerp ade561e1cc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803055522-fcjgcnhlfmzbpk1t
bzr revid: launchpad_translations_on_behalf_of_openerp-20130806044754-4d3d8qgnfyuu1v8e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130807044648-mspjcf73m77dwwb3
2013-08-07 04:46:48 +00:00
niv-openerp 67cba2d9c5 [FIX] Potential problems with server-side autodetection of request type.
bzr revid: nicolas.vanhoren@openerp.com-20130806152547-2b5puachpvcjsci3
2013-08-06 17:25:47 +02:00
niv-openerp 8039768fc8 [IMP] added doc
bzr revid: nicolas.vanhoren@openerp.com-20130806132807-rbiafmcqvbh1o79y
2013-08-06 15:28:07 +02:00
niv-openerp d3a2c47fb1 [IMP] Moved Mutex class to openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130806131746-l43mz6aos7eupehm
2013-08-06 15:17:46 +02:00
niv-openerp e6e5fcde1e [IMP] Improved shim for function.bind
bzr revid: nicolas.vanhoren@openerp.com-20130806130734-lov3aq0m4b1r4sto
2013-08-06 15:07:34 +02:00
niv-openerp baef37aec6 [IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
niv-openerp c63a86c593 [IMP] Merged corelib.js and coresetup.js into core.js
bzr revid: nicolas.vanhoren@openerp.com-20130806122623-pq6bpkjk65jx0fnp
2013-08-06 14:26:23 +02:00
niv-openerp 392e9d260b [IMP] Mostly improvements of openerpframework.js . Moved a lot of necessary features to it (jsonrpc, models, translations,...). Added tests. Also some other style improvements.
bzr revid: nicolas.vanhoren@openerp.com-20130806120724-55nsh8ay9qiac72r
2013-08-06 14:07:24 +02:00
Martin Trigaux 122f0aa9b3 [FIX] workerst: revert commit 4930, remove useless loop and if condition always validated
bzr revid: mat@openerp.com-20130806094222-w61oolrjo66ulg3n
2013-08-06 11:42:22 +02:00
Martin Trigaux f47ac59b38 [IMP] workers: remove unused code, _acquire_job does not return any value
lp bug: https://launchpad.net/bugs/1193399 fixed

bzr revid: mat@openerp.com-20130806091032-5w6km2pmbl20zicl
2013-08-06 11:10:32 +02:00
niv-openerp cb55e11c70 Put everything in the framework directly in the openerp namespace instead of the openerp.web namespace.
bzr revid: nicolas.vanhoren@openerp.com-20130806085812-ek8v8k0x4m7ocu4f
2013-08-06 10:58:12 +02:00
niv-openerp 034e4893d5 Some commas
bzr revid: nicolas.vanhoren@openerp.com-20130805151544-pdaebd2o8bh70z7z
2013-08-05 17:15:44 +02:00
niv-openerp 1bd4b62142 Perfected translations integration in the framework
bzr revid: nicolas.vanhoren@openerp.com-20130805151012-wnc7wkyiz0eay5oh
2013-08-05 17:10:12 +02:00
niv-openerp 556deae262 Potential problems with request and context
bzr revid: nicolas.vanhoren@openerp.com-20130805145835-6yro8zp4exx3uz8v
2013-08-05 16:58:35 +02:00