Nicolas Lempereur
6e090f5d5b
[FIX] survey: improve printing
...
Don't use select element when printing a non-filled survey, and small
appearances improvements.
opw-645011
2015-07-24 09:35:02 +02:00
Odoo Translation Bot
0871f423a3
[I18N] Update translation terms from Transifex
2015-07-19 02:01:00 +02:00
Odoo Translation Bot
99a7d530e0
[I18N] Update translation terms from Transifex
2015-07-12 01:51:44 +02:00
Denis Ledoux
812318dcba
[FIX] survery: access rights for invitations
...
When building a new suvery, and sending invitation
trough private emails, it wasn't possible
to fill the survey from the link sent
if you were not logged as the user who sent
the invitation, or as a survey manager
opw-644210
Fixes #7486
2015-07-09 11:01:14 +02:00
Odoo Translation Bot
fe3835faff
[I18N] Update translation terms from Transifex
2015-07-05 01:52:32 +02:00
Odoo Translation Bot
acc1b525fa
[I18N] Update translation terms from Transifex
2015-06-29 08:42:08 +02:00
Xavier Morel
11ba4689b1
[IMP] running speed of some tests & new testcase type
...
Some tests (e.g. mail) have expensive and significant DB setup for a
number of small and cheap tests. Using a TransactionCase, the DB setup
far dominates the tests themselves, by up to 10x (mail unit tests take
~130s on my machine, the tests themselves take ~15s).
The SavepointCase introduced here is an hybrid of SingleTransactionCase
and TransactionCase: it uses a single transaction for all tests in a
class, but each test case is isolated by a rollbacked savepoint. This
allows a common DB setup (via setUpClass) while keeping independent
tests.
TransactionCase should remain the primary test case superclass, but
SavepointCase can be a fair optimisation when setup costs far dominate.
2015-06-23 16:38:14 +02:00
Odoo Translation Bot
35b2463324
[I18N] Update translation terms from Transifex
2015-06-22 13:21:18 +02:00
Odoo Translation Bot
e2c9699cfc
[I18N] Update translation terms from Transifex
2015-06-08 14:03:50 +02:00
Martin Trigaux
4528ccf148
[I18N] First sync of translations from Transifex
...
Translation is that which transforms everything so that nothing changes.
-- Grass Günter
2015-05-29 21:58:20 +02:00
Olivier Dony
ebb5ddcd65
[I18N] Sync latest translations from Launchpad (not the final one)
2015-05-21 14:42:20 +02:00
Olivier Dony
622e00baa5
[I18N] Sync 8.0 translations from Launchpad
2015-04-28 09:45:53 +02:00
Olivier Dony
91d4b947f6
[I18N] Update translations from Launchpad 8.0 branches
2015-02-18 11:51:07 +01:00
Olivier Dony
8e03852fd4
[I18N] Update translations from Launchpad 8.0 branches
2015-01-26 16:36:51 +01:00
Olivier Dony
39f00b3637
[I18N] Update translation templates with latest terms
...
Total new terms: 270
Total deleted terms: 82
Total identical terms: 19653
Old total number of terms: 19735
New total number of terms: 19923
2015-01-21 15:31:22 +01:00
Richard Mathot
f9376905cc
[FIX] survey: avoid navigation crash
...
If a survey has "allow users to go back" option enabled, users can go back to previous pages and change their answers before submitting the whole survey.
This commit fixes the very special case, when the user reaches the last page of the survey, then click on "Previous" button, then reopen the survey from the invitation URL (/survey/fill/<survey_id>/<token> without the /prev flag in the URL). This won't crash anymore.
This commit fixes #2658 and #2680 .
2015-01-16 17:24:15 +01:00
Richard Mathot
b117fcfbac
[FIX] survey: prefill glitch
...
When user answers to multiple suggestion questions with a comment box,
the comment box was prefilled with the ID's of the suggestion instead of
user-entered data.
This commit fixes #3149 and closes #3171 .
2015-01-16 17:24:14 +01:00
Richard Mathot
dbb9c8ebeb
[REM] survey: unused import
2015-01-16 17:24:14 +01:00
Richard Mathot
11f147f2d9
[FIX] survey: prevent pointless AJAX request
...
Avoid creation of doublon survey_user_input entries when a user loads the landing page of a survey (/survey/start/... route).
Due to some strange spec, jQuery.ajax() function called with "undefined" URL will do an extra call to the URL of the webpage where the script lies (http://api.jquery.com/jQuery.ajax/ ). Now, we check that URL is not "undefined" to avoid those calls.
By the way, this problem probably happened in every page that had survey.js in its assets... (correct loading of survey.js is fixed in saas-6 at 4dd5dbb28974b3f0d9cbcc9b502aab2d83b5e6f3, this fix is complementary.)
This commit fixes #3032 and closes #3337 #3338 #3092 .
2015-01-16 17:24:14 +01:00
Xavier Morel
65cd4a2a33
[FIX] remove deprecated checks/fast_suite test attributes from standard modules
2015-01-15 14:31:40 +01:00
Nick Booker
c53951e0a5
[FIX] survey: typo, quizz to quiz
...
Fixes #4549
2015-01-08 13:14:06 +01:00
Aaron Bohy
ba37ae3cf3
[DEL] Cleaning: key 'images' removed from all __openerp__.py
2015-01-06 14:20:38 +01:00
Denis Ledoux
69e8edb8f2
[FIX] survey: use ustr instead of str for question.question
2014-12-23 11:52:45 +01:00
Jeremy Kersten
ade51a9ea1
[FIX] survey: Was browsing a browse record, useless and traceback... https://github.com/odoo/odoo/issues/2383
2014-11-25 15:06:59 +01:00
Olivier Dony
a6d24db305
[I18N] Update translations from Launchpad 8.0 branches
2014-11-19 17:49:12 +01:00
Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Olivier Dony
b74d830eb2
[I18N] Update translation templates with latest term changes
2014-09-23 19:13:50 +02:00
Olivier Dony
1c5b5e4290
[I18N] Update translations from Launchpad 8.0 branches
...
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-23 13:42:05 +02:00
Martin Trigaux
3d908c3379
[FIX] survey: typo in domain
2014-09-18 13:50:20 +02:00
MadeleineHero
2182acb445
[FIX] survey: display_mode is required if question type is simple_choice
...
Fixes #2461
2014-09-18 13:35:49 +02:00
Olivier Dony
53aa92d3c9
[I18N] Update translations from Launchpad branches
2014-09-18 11:47:16 +02:00
Richard Mathot
4dec8b54f4
[FIX] survey: mess with JS loading
...
Since yesterday, JS bundles are now loaded at the end of the webpage.
Old-style modules that hardlink js code in the <head> section are now
broken since they use jQuery's $.
2014-09-17 11:53:14 +02:00
Olivier Dony
fac96241df
[I18N] Update 8.0 translations with latest changes from Launchpad
2014-09-08 19:04:25 +02:00
Jeremy Kersten
858f4cecde
[IMP] survey: display sum for numerical answers
2014-09-03 11:06:50 +02:00
jas
d7ef283f53
[FIX] survey: trace the partner_id taking the survey; if no token, set as the current user's partner.
2014-09-02 11:31:03 +02:00
Xavier Morel
e6b56412a0
[ADD] views documentation
2014-08-28 15:02:33 +02:00
Thibault Delavallée
ce5b5e6ba5
[FIX] survey: in prepare_result, result_summary variable could be returned without being initialized (error in question.type maybe, but anyway should be more secure)
2014-08-28 12:42:09 +02:00
Thibault Delavallée
5b4f8a6278
[FIX] Survey: typo (en_US wording)
2014-08-27 11:41:51 +02:00
Fabien Pinckaers
8aca457e34
[IMP] Updated website urls on modules and info page
2014-08-26 21:40:18 +02:00
Olivier Dony
50ef63881a
[I18N] Update 8.0 translation with latest source code
2014-08-14 17:01:54 +02:00
Richard Mathot
413bc62503
[FIX] survey: regressions introduced in forward-port fd4fd35e32
2014-08-08 17:07:31 +02:00
Christophe Simonis
d5e8b42690
[FIX] survey: use relative urls for url actions
2014-08-08 15:24:48 +02:00
Christophe Simonis
fd4fd35e32
[MERGE] forward port of branch saas-5 up to e4cb520
2014-07-30 20:52:14 +02:00
Christophe Simonis
e4cb5202a0
[MERGE] forward port of branch saas-4 up to fa07bc8
2014-07-30 20:30:14 +02:00
Richard Mathot
5e1221b339
[FIX] survey: display comments in results
2014-07-25 14:48:57 +02:00
Richard Mathot
eadd1b3907
[FIX] survey: correct counting of finished answers
2014-07-25 13:47:42 +02:00
Richard Mathot
f0b6beac29
[FIX] survey: comments are properly recorded now
2014-07-25 13:47:42 +02:00
Richard Mathot
7ac86cff07
[DOC] survey: retroengineering
...
A bit of commenting in order to help future debugging and unf**king of
the survey reporting tool.
2014-07-25 13:47:42 +02:00
Richard Mathot
2a02d644a2
[FIX] survey: remove duplicate browse record
...
The `prepare_result` dict shouldn't keep a browse record of a survey, as it
is explicitely passed to the template by the controller
`survey_reporting`
2014-07-25 13:47:42 +02:00
Richard Mathot
b7e62ae3dc
[FIX] survey: minor view fixes
2014-07-25 13:47:42 +02:00
rlu-odoo
8b67a7202d
[REF] OpenERP --> Odoo in various UI texts
...
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages
(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)
Closes #1260
2014-07-18 13:45:41 +02:00
Raphael Collet
cbe2dbb672
[MERGE] new v8 api by rco
...
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Olivier Dony
34bfa1b44f
[MERGE] Forward-port saas-5 up to d9cda97
2014-07-05 01:45:45 +02:00
Olivier Dony
d9cda97cf4
[MERGE] Forward-port saas-4 up to 5ceded9
2014-07-05 01:28:19 +02:00
Richard Mathot
0b0c1fbdd6
[FIX] survey: catch exception while quizz mode
2014-07-01 15:56:50 +02:00
Richard Mathot
14fae54863
[FIX] survey: bug while recording comments
2014-07-01 15:37:27 +02:00
Richard Mathot
7721ddc7ad
[FIX] survey: Nasty brackets...
2014-07-01 14:51:00 +02:00
Jaydeep Barot
026e38b48f
[REM] Unnecessary `size` parameters on char fields
2014-06-25 17:13:43 +02:00
Richard Mathot
6e93af4774
[FIX] survey: display labels in the right order in survey reporting views
2014-06-20 11:45:03 +02:00
Olivier Dony
0f01df42ea
[MERGE] Forward-port saas-5 up to f15cbd6
2014-06-12 18:59:15 +02:00
Olivier Dony
f15cbd6520
[MERGE] Forward-port saas-4 bugfixes up to ad4c6ca
2014-06-12 18:54:36 +02:00
Richard Mathot
b7137a5ada
[FIX] survey: ordering of questions/labels was buggy
2014-06-12 16:40:58 +02:00
ged-odoo
74168c4e9d
Merge pull request #272 from odoo-dev/master-inline-searchview-ged
...
[MERGP] Inline Searchview
This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place. It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)
Because of this, other large changes have been made:
the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)
It is likely that some stupid bugs have been introduced. Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi
64b78b34d6
Merge pull request #505 from odoo-dev/master-form-views-default-version-fme
...
[IMP] Form views default version is now 7.0
2014-06-12 15:27:24 +02:00
Géry Debongnie
0bcf81f11f
Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
2014-06-12 10:44:32 +02:00
Richard Mathot
01cceb37a5
[IMP] survey: better display for survey managers/website editors
2014-06-12 10:18:40 +02:00
Fabien Meghazi
faa09da325
Removed version="7.0" from form views
2014-06-12 09:09:59 +02:00
Richard Mathot
89d7e78aad
[FIX] survey: pagination result didn't load properly at page loading
2014-06-11 12:10:26 +02:00
Richard Mathot
2809314045
[FIX] survey: security rules mess with xmlids
2014-06-11 11:47:55 +02:00
Richard Mathot
194049df99
[FIX] survey: user-friendly message when login is required
2014-06-11 10:57:03 +02:00
Géry Debongnie
5cc8f9ca42
Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
2014-05-28 10:37:16 +02:00
Olivier Dony
04211015fc
[MERGE] Forward-port of latest saas-4 fixes, up to 0452851
2014-05-27 20:49:49 +02:00
Géry Debongnie
62900fe01b
Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
...
Conflicts:
addons/crm/crm_case_section_view.xml
2014-05-26 10:06:31 +02:00
Géry Debongnie
555677f14d
[IMP] replace all 'Group By...' by 'Group By'
...
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters. This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Richard Mathot
2e760407e4
[FIX] survey: enable survey access to portal users instead of 404
2014-05-21 13:42:17 +02:00
Christophe Simonis
a756b82372
[MERGE] forward port of branch saas-4 up to revid bb26dea
2014-05-20 20:19:55 +02:00
Fabien Meghazi
1ce14dbe6a
[FIX] survey route that is only accessed with POST verb
2014-05-14 13:58:34 +02:00
Richard Mathot (OpenERP)
b00783ab46
[FIX] survey: Prevent template crashing while there are no data for the survey
2014-05-14 09:47:25 +02:00
Fabien Meghazi
8eed143112
[IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty
2014-05-13 11:35:45 +02:00
Olivier Dony
4cecbd919f
[FIX] mass_mailing,website*,survey: leftover calls to website.get_public_user()
...
This method was (partially) removed at rev.9421
rev-id al@openerp.com-20140507153223-q73u5lhyrfw98o3a
bzr revid: odo@openerp.com-20140512103935-o0ue9wzenm5wjejq
2014-05-12 12:39:35 +02:00
Antony Lesuisse
7e25b9ae55
[MERGE] saas-4 report_webkit missing dependency on report
...
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Richard Mathot (OpenERP)
99f19ba562
[MERGE][FIX] survey: incorrect route + security rules
...
bzr revid: rim@openerp.com-20140423085703-kyv4z4dc35mmiama
2014-04-23 10:57:03 +02:00
Richard Mathot (OpenERP)
e53b07b12b
[FIX]
...
bzr revid: rim@openerp.com-20140423085404-rleqt5f9rznpbj0k
2014-04-23 10:54:04 +02:00
Richard Mathot (OpenERP)
35d50a7139
[FIX] add noupdate to survey security rules
...
bzr revid: rim@openerp.com-20140423085037-7wgp3hekne7hwnrl
2014-04-23 10:50:37 +02:00
Christophe Simonis
618fbde36f
[MERGE] forward port of branch saas-4 up to revid 9365 chs@openerp.com-20140422143249-3cfh18tenn3a5ry1
...
bzr revid: chs@openerp.com-20140422144651-840zze7p5549k88s
bzr revid: chs@openerp.com-20140422144933-0su8g7pgrcloijco
2014-04-22 16:49:33 +02:00
Launchpad Translations on behalf of openerp
fa60b90c1f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422075247-nxfftok20ltlnea6
2014-04-22 07:52:47 +00:00
Christophe Simonis
2138892723
[FIX] survey: handle the case where there is no stage available when searching default stage.
...
[FIX] survey: define survey.stage before using it in survey.survey
bzr revid: chs@openerp.com-20140417160306-0oeb928gpfwxoxhz
2014-04-17 18:03:06 +02:00
Richard Mathot (OpenERP)
c89723fcb8
[FIX] incorrect route
...
bzr revid: rim@openerp.com-20140417142648-zx2izdo6p9byqp3q
2014-04-17 16:26:48 +02:00
Richard Mathot (OpenERP)
732293d69b
[FIX] Security rules for surveys
...
bzr revid: rim@openerp.com-20140417135047-7ekyq1t7jpa6ggk1
2014-04-17 15:50:47 +02:00
Richard Mathot (OpenERP)
4aed9ce7e7
[IMP] Score for each question
...
bzr revid: rim@openerp.com-20140416151320-1zsxsss60zi9w11y
2014-04-16 17:13:20 +02:00
Richard Mathot (OpenERP)
871bb07d65
[IMP] Highlight the right answer in MCQ correction mode
...
bzr revid: rim@openerp.com-20140416101129-t33z38q7ez0358gh
2014-04-16 12:11:29 +02:00
Richard Mathot (OpenERP)
577245bc66
[REF] Terminology
...
bzr revid: rim@openerp.com-20140415115017-wfbtidj4eypxyw8r
2014-04-15 13:50:17 +02:00
Richard Mathot (OpenERP)
1085389add
[IMP] survey: imp in views to enable better config of quiz mode
...
bzr revid: rim@openerp.com-20140415091446-hj0xugog2u3almaw
2014-04-15 11:14:46 +02:00
Launchpad Translations on behalf of openerp
e82fbf7d91
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412083153-3ona1js7o6z421vg
2014-04-12 08:31:53 +00:00
Richard Mathot (OpenERP)
2a8232c25e
[IMP] Typo and add link in layout
...
bzr revid: rim@openerp.com-20140411122620-33rcxanaxhf5qxap
2014-04-11 14:26:20 +02:00
Richard Mathot (OpenERP)
22fff5237b
[FIX] Correct prefill for comment answers
...
bzr revid: rim@openerp.com-20140411121541-pj3m0z44hwd0z89w
2014-04-11 14:15:41 +02:00
Richard Mathot (OpenERP)
41447050e5
[FIX] Dirty fix: prevent crash in computing data from SCQ/MCQ/matrices by ignoring comments
...
bzr revid: rim@openerp.com-20140411120735-u04occnkchgm3ztc
2014-04-11 14:07:35 +02:00
Richard Mathot (OpenERP)
8905975fb8
[REM] unused code
...
bzr revid: rim@openerp.com-20140410152112-q91jka9pon4q6lya
2014-04-10 17:21:12 +02:00
Richard Mathot (OpenERP)
1fe3580fc6
[FIX] Correct saving of comments
...
bzr revid: rim@openerp.com-20140410150102-3bq9lz31sebigd9i
2014-04-10 17:01:02 +02:00
Richard Mathot (OpenERP)
b7989fbeec
[FIX] Correct saving of comments
...
bzr revid: rim@openerp.com-20140410145247-o2759q0r022ybp4q
2014-04-10 16:52:47 +02:00